/*
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/// \addtogroup u2w
/// @{
/// \file

#ifndef _OPCODES_H
#define _OPCODES_H

#include "Common.h"
#include <iomanip>

enum ConnectionType
{
	CONNECTION_TYPE_REALM = 0,
	CONNECTION_TYPE_INSTANCE = 1,
	MAX_CONNECTION_TYPES,

	CONNECTION_TYPE_DEFAULT = -1
};

enum OpcodeMisc : uint32
{
	MAX_OPCODE = 0x1FFF,
	NUM_OPCODE_HANDLERS = (MAX_OPCODE + 1),
	UNKNOWN_OPCODE = (0xFFFF + 1),
	NULL_OPCODE = 0xBADD
};

// CMSGs 6.0.3.19342
enum OpcodeClient : uint32
{
	CMSG_ACCEPT_GUILD_INVITE = 0x0384,
	CMSG_ACCEPT_LEVEL_GRANT = 0x0B12,
	CMSG_ACCEPT_TRADE = 0x01E5,
	CMSG_ACCEPT_WARGAME_INVITE = 0x0B40,
	CMSG_ACTIVATE_TAXI = 0x0311,
	CMSG_ACTIVATE_TAXI_EXPRESS = 0x1B52,
	CMSG_ADD_BATTLENET_FRIEND = 0x0B36,
	CMSG_ADD_FRIEND = 0x0DB9,
	CMSG_ADD_IGNORE = 0x1321,
	CMSG_ALTER_APPEARANCE = 0x13E9,
	CMSG_AREATRIGGER = 0x01B4,
	CMSG_AREA_SPIRIT_HEALER_QUERY = 0x0A08,
	CMSG_AREA_SPIRIT_HEALER_QUEUE = 0x1921,
	CMSG_ARENA_TEAM_ACCEPT = 0xBADD,
	CMSG_ARENA_TEAM_CREATE = 0xBADD,
	CMSG_ARENA_TEAM_DECLINE = 0xBADD,
	CMSG_ARENA_TEAM_DISBAND = 0xBADD,
	CMSG_ARENA_TEAM_INVITE = 0xBADD,
	CMSG_ARENA_TEAM_LEADER = 0xBADD,
	CMSG_ARENA_TEAM_LEAVE = 0xBADD,
	CMSG_ARENA_TEAM_QUERY = 0xBADD,
	CMSG_ARENA_TEAM_REMOVE = 0xBADD,
	CMSG_ARENA_TEAM_ROSTER = 0xBADD,
	CMSG_ATTACKSTOP = 0x065B,
	CMSG_ATTACKSWING = 0x1E9B,
	CMSG_AUCTION_HELLO_REQUEST = 0x13EA,
	CMSG_AUCTION_LIST_BIDDER_ITEMS = 0x050E,
	CMSG_AUCTION_LIST_ITEMS = 0x0B53,
	CMSG_AUCTION_LIST_OWNER_ITEMS = 0x03E2,
	CMSG_AUCTION_LIST_PENDING_SALES = 0x11E2,
	CMSG_AUCTION_PLACE_BID = 0x0B11,
	CMSG_AUCTION_REMOVE_ITEM = 0x1BEB,
	CMSG_AUCTION_REPLICATE_ITEMS = 0x0805,
	CMSG_AUCTION_SELL_ITEM = 0x0027,
	CMSG_AUTH_CONTINUED_SESSION = 0x0485,
	CMSG_AUTH_SESSION = 0x0487,
	CMSG_AUTOBANK_ITEM = 0x0751,
	CMSG_AUTOEQUIP_GROUND_ITEM = 0xBADD,
	CMSG_AUTOEQUIP_ITEM = 0x0F35,
	CMSG_AUTOEQUIP_ITEM_SLOT = 0x07B1,
	CMSG_AUTOSTORE_BAG_ITEM = 0x0F18,
	CMSG_AUTOSTORE_BANK_ITEM = 0x0732,
	CMSG_AUTOSTORE_GROUND_ITEM = 0xBADD,
	CMSG_AUTOSTORE_LOOT_ITEM = 0x0609,
	CMSG_AUTO_DECLINE_GUILD_INVITES = 0xBADD,
	CMSG_BANKER_ACTIVATE = 0x1B24,
	CMSG_BATTLEFIELD_JOIN = 0xBADD,
	CMSG_BATTLEFIELD_LEAVE = 0x06F1,
	CMSG_BATTLEFIELD_LIST = 0x03B1,
	CMSG_BATTLEFIELD_MGR_ENTRY_INVITE_RESPONSE = 0x059A,
	CMSG_BATTLEFIELD_MGR_EXIT_REQUEST = 0x1381,
	CMSG_BATTLEFIELD_MGR_QUEUE_INVITE_RESPONSE = 0x122A,
	CMSG_BATTLEFIELD_MGR_QUEUE_REQUEST = 0x0B49,
	CMSG_BATTLEFIELD_PORT = 0x11EB,
	CMSG_BATTLEFIELD_REQUEST_SCORE_DATA = 0xBADD,
	CMSG_BATTLEGROUND_PLAYER_POSITIONS = 0xBADD,
	CMSG_BATTLEMASTER_HELLO = 0xBADD,
	CMSG_BATTLEMASTER_JOIN = 0x0D2E,
	CMSG_BATTLEMASTER_JOIN_ARENA = 0x0DAE,
	CMSG_BATTLEMASTER_JOIN_RATED = 0xBADD,
	CMSG_BATTLENET_CHALLENGE_RESPONSE = 0x0138,
	CMSG_BATTLE_PAY_ACK_FAILED_RESPONSE = 0x052A,
	CMSG_BATTLE_PAY_CONFIRM_PURCHASE_RESPONSE = 0x012E,
	CMSG_BATTLE_PAY_DISTRIBUTION_ASSIGN_TO_TARGET = 0x198A,
	CMSG_BATTLE_PAY_GET_PRODUCT_LIST_QUERY = 0x1389,
	CMSG_BATTLE_PAY_GET_PURCHASE_LIST_QUERY = 0x120C,
	CMSG_BATTLE_PAY_START_PURCHASE = 0x011E,
	CMSG_BATTLE_PET_DELETE_PET = 0x0928,
	CMSG_BATTLE_PET_DELETE_PET_CHEAT = 0x07B9,
	CMSG_BATTLE_PET_MODIFY_NAME = 0x03A9,
	CMSG_BATTLE_PET_NAME_QUERY = 0x041C,
	CMSG_BATTLE_PET_REQUEST_JOURNAL = 0x0117,
	CMSG_BATTLE_PET_REQUEST_JOURNAL_LOCK = 0x07AA,
	CMSG_BATTLE_PET_REQUEST_UPDATE = 0x134A,
	CMSG_BATTLE_PET_SET_BATTLE_SLOT = 0x120B,
	CMSG_BATTLE_PET_SET_FLAGS = 0x0BA2,
	CMSG_BATTLE_PET_SUMMON = 0x0B38,
	CMSG_BATTLE_PET_UPDATE_NOTIFY = 0x03B5,
	CMSG_BEGIN_TRADE = 0x06CC,
	CMSG_BINDER_ACTIVATE = 0x02F3,
	CMSG_BLACK_MARKET_BID_ON_ITEM = 0x13C2,
	CMSG_BLACK_MARKET_OPEN = 0x1B39,
	CMSG_BLACK_MARKET_REQUEST_ITEMS = 0x0B21,
	CMSG_BOT_DETECTED2 = 0xBADD,
	CMSG_BUG_REPORT = 0x0181,
	CMSG_BUSY_TRADE = 0x00D5,
	CMSG_BUY_BACK_ITEM = 0x02D3,
	CMSG_BUY_BANK_SLOT = 0x0A25,
	CMSG_BUY_ITEM = 0x0352,
	CMSG_CAGE_BATTLE_PET = 0x0AFE,
	CMSG_CALENDAR_ADD_EVENT = 0x09A3,
	CMSG_CALENDAR_ARENA_TEAM = 0xBADD,
	CMSG_CALENDAR_COMPLAIN = 0x0D19,
	CMSG_CALENDAR_CONTEXT_EVENT_SIGNUP = 0xBADD,
	CMSG_CALENDAR_COPY_EVENT = 0x0317,
	CMSG_CALENDAR_EVENT_INVITE = 0x010E,
	CMSG_CALENDAR_EVENT_MODERATOR_STATUS = 0x118C,
	CMSG_CALENDAR_EVENT_REMOVE_INVITE = 0xBADD,
	CMSG_CALENDAR_EVENT_RSVP = 0x11A4,
	CMSG_CALENDAR_EVENT_SIGNUP = 0x0BAA,
	CMSG_CALENDAR_EVENT_STATUS = 0x1201,
	CMSG_CALENDAR_GET = 0x0336,
	CMSG_CALENDAR_GET_EVENT = 0x1229,
	CMSG_CALENDAR_GET_NUM_PENDING = 0x033E,
	CMSG_CALENDAR_GUILD_FILTER = 0x070A,
	CMSG_CALENDAR_REMOVE_EVENT = 0x0330,
	CMSG_CALENDAR_REMOVE_INVITE = 0x03A3,
	CMSG_CALENDAR_UPDATE_EVENT = 0x12A2,
	CMSG_CANCEL_AURA = 0x08AE,
	CMSG_CANCEL_AUTO_REPEAT_SPELL = 0x0939,
	CMSG_CANCEL_CAST = 0x0071,
	CMSG_CANCEL_CHANNELLING = 0x0BE6,
	CMSG_CANCEL_GROWTH_AURA = 0x09B3,
	CMSG_CANCEL_MASTER_LOOT_ROLL = 0x0664,
	CMSG_CANCEL_MOD_SPEED_NO_CONTROL_AURAS = 0x02AE,
	CMSG_CANCEL_MOUNT_AURA = 0x03E6,
	CMSG_CANCEL_QUEUED_SPELL = 0x02DD,
	CMSG_CANCEL_TEMP_ENCHANTMENT = 0x13C4,
	CMSG_CANCEL_TRADE = 0x1159,
	CMSG_CAN_DUEL = 0x0B25,
	CMSG_CAST_SPELL = 0x08FE,
	CMSG_CHALLENGE_MODE_REQUEST_LEADERS = 0x0E66,
	CMSG_CHALLENGE_MODE_REQUEST_MAP_STATS = 0x0E78,
	CMSG_CHANGE_BAG_SLOT_FLAG = 0x1959,
	CMSG_CHANGE_BANK_BAG_SLOT_FLAG = 0x0ADE,
	CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE = 0xBADD,
	CMSG_CHANGE_SUB_GROUP = 0x0BA4,
	CMSG_CHANGE_TROPHY = 0x0B91,
	CMSG_CHANNEL_ANNOUNCEMENTS = 0x1313,
	CMSG_CHANNEL_BAN = 0x1A82,
	CMSG_CHANNEL_DECLINE_INVITE = 0x19DB,
	CMSG_CHANNEL_DISPLAY_LIST = 0x093B,
	CMSG_CHANNEL_INVITE = 0x1933,
	CMSG_CHANNEL_KICK = 0x0A2A,
	CMSG_CHANNEL_LIST = 0x091C,
	CMSG_CHANNEL_MODERATE = 0xBADD,
	CMSG_CHANNEL_MODERATOR = 0x088B,
	CMSG_CHANNEL_MUTE = 0x18AB,
	CMSG_CHANNEL_OWNER = 0x0BFA,
	CMSG_CHANNEL_PASSWORD = 0x1113,
	CMSG_CHANNEL_SET_OWNER = 0x0174,
	CMSG_CHANNEL_SILENCE_ALL = 0x11FB,
	CMSG_CHANNEL_SILENCE_VOICE = 0x0AA3,
	CMSG_CHANNEL_UNBAN = 0x0BCB,
	CMSG_CHANNEL_UNMODERATOR = 0x1AA1,
	CMSG_CHANNEL_UNMUTE = 0x0A81,
	CMSG_CHANNEL_UNSILENCE_ALL = 0x1164,
	CMSG_CHANNEL_UNSILENCE_VOICE = 0x0B4C,
	CMSG_CHANNEL_VOICE_OFF = 0x016C,
	CMSG_CHANNEL_VOICE_ON = 0x0374,
	CMSG_CHAR_CREATE = 0x070D,
	CMSG_CHAR_CUSTOMIZE = 0x072A,
	CMSG_CHAR_DELETE = 0x030E,
	CMSG_CHAR_ENUM = 0x0918,
	CMSG_CHAR_RACE_OR_FACTION_CHANGE = 0x1209,
	CMSG_CHAR_RENAME = 0x038B,
	CMSG_CHAR_UNDELETE_ENUM = 0x0F2D,
	CMSG_CHAT_REPORT_FILTERED = 0x1B5C,
	CMSG_CHAT_REPORT_IGNORED = 0x1B14,
	CMSG_CHECK_RAF_EMAIL_ENABLED = 0x0906,
	CMSG_CHOICE_RESPONSE = 0x00C3,
	CMSG_CLEAR_RAID_MARKER = 0x1C9C,
	CMSG_CLEAR_TRADE_ITEM = 0x1149,
	CMSG_CLOSE_INTERACTION = 0x1B19,
	CMSG_COMMENTATOR_ENABLE = 0x0322,
	CMSG_COMMENTATOR_ENTER_INSTANCE = 0x19A1,
	CMSG_COMMENTATOR_EXIT_INSTANCE = 0x1303,
	CMSG_COMMENTATOR_GET_MAP_INFO = 0x0B82,
	CMSG_COMMENTATOR_GET_PARTY_INFO = 0xBADD,
	CMSG_COMMENTATOR_GET_PLAYER_INFO = 0x013D,
	CMSG_COMMENTATOR_INSTANCE_COMMAND = 0xBADD,
	CMSG_COMMENTATOR_SKIRMISH_QUEUE_COMMAND = 0xBADD,
	CMSG_COMMENTATOR_START_WARGAME = 0x1B89,
	CMSG_COMPLAIN = 0x0917,
	CMSG_COMPLETE_CINEMATIC = 0x1B51,
	CMSG_COMPLETE_MOVIE = 0x13D4,
	CMSG_CONFIRM_RESPEC_WIPE = 0x14B4,
	CMSG_CONNECT_TO_FAILED = 0x0135,
	CMSG_CONVERSATION_UNK1 = 0x0912,
	CMSG_CONVERT_RAID = 0x0137,
	CMSG_CREATE_SHIPMENT = 0x068B,
	CMSG_CREATURE_QUERY = 0x0505,
	CMSG_DANCE_QUERY = 0xBADD,
	CMSG_DB_QUERY_BULK = 0x138B,
	CMSG_DECLINE_GUILD_INVITES = 0x148A,
	CMSG_DECLINE_PETITION = 0x03EA,
	CMSG_DELETE_EQUIPMENT_SET = 0x03C3,
	CMSG_DEL_FRIEND = 0x0F2A,
	CMSG_DEL_IGNORE = 0x033D,
	CMSG_DEPOSIT_REAGENT_BANK = 0x039B,
	CMSG_DESTROY_ITEM = 0x01EE,
	CMSG_DF_BOOT_PLAYER_VOTE = 0x0308,
	CMSG_DF_JOIN = 0x0925,
	CMSG_DF_LEAVE = 0x01A2,
	CMSG_DF_PROPOSAL_RESPONSE = 0x0509,
	CMSG_DF_SEARCH_JOIN = 0x1183,
	CMSG_DF_SEARCH_LEAVE = 0x0983,
	CMSG_DF_SET_COMMENT = 0x0B89,
	CMSG_DF_SET_ROLES = 0x1B82,
	CMSG_DF_TELEPORT = 0x0316,
	CMSG_DISCARDED_TIME_SYNC_ACKS = 0x0142,
	CMSG_DISMISS_CONTROLLED_VEHICLE = 0xBADD,
	CMSG_DISMISS_CRITTER = 0x02F1,
	CMSG_DO_MASTER_LOOT_ROLL = 0x09BE,
	CMSG_DO_READY_CHECK = 0x1221,
	CMSG_DUEL_RESPONSE = 0x1BD2,
	CMSG_EJECT_PASSENGER = 0x1029,
	CMSG_EMOTE = 0x0A27,
	CMSG_ENABLE_NAGLE = 0x0460,
	CMSG_ENABLE_TAXI_NODE = 0x00D2,
	CMSG_EQUIPMENT_SET_SAVE = 0x1B54,
	CMSG_FAR_SIGHT = 0x1C8A,
	CMSG_GAMEOBJECT_QUERY = 0x03AE,
	CMSG_GAMEOBJ_REPORT_USE = 0x082E,
	CMSG_GAMEOBJ_USE = 0x0B19,
	CMSG_GAMESPEED_SET = 0xBADD,
	CMSG_GAMETIME_SET = 0xBADD,
	CMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING = 0x095A,
	CMSG_GARRISON_COMPLETE_MISSION = 0x102C,
	CMSG_GARRISON_MISSION_BONUS_ROLL = 0x02C2,
	CMSG_GARRISON_OPEN_TRADESKILL_NPC = 0x099D,
	CMSG_GARRISON_PURCHASE_BUILDING = 0x04A2,
	CMSG_GARRISON_REMOVE_FOLLOWER_FROM_BUILDING = 0x01BB,
	CMSG_GARRISON_REQUEST_BLUEPRINT_AND_SPECIALIZATION_DATA = 0x16F2,
	CMSG_GARRISON_REQUEST_LANDING_PAGE_SHIPMENT_INFO = 0x0623,
	CMSG_GARRISON_REQUEST_UPGRADEABLE = 0x02BD,
	CMSG_GARRISON_SET_FOLLOWER_INACTIVE = 0x03BC,
	CMSG_GARRISON_SET_RECRUITMENT_PREFERENCES = 0x0074,
	CMSG_GARRISON_START_MISSION = 0x1624,
	CMSG_GARRISON_UNK1 = 0x02F5,
	CMSG_GETDEATHBINDZONE = 0xBADD,
	CMSG_GET_CHALLENGE_MODE_REWARDS = 0x1C2F,
	CMSG_GET_GARRISON_INFO = 0x03CA,
	CMSG_GET_ITEM_PURCHASE_DATA = 0x0924,
	CMSG_GET_MAIL_LIST = 0x0BD3,
	CMSG_GET_MIRROR_IMAGE_DATA = 0x08F6,
	CMSG_GET_SHIPMENT_INFO = 0x06E3,
	CMSG_GET_TROPHY_LIST = 0x13B1,
	CMSG_GET_UNDELETE_COOLDOWN_STATUS = 0x19A9,
	CMSG_GHOST = 0xBADD,
	CMSG_GM_INVIS = 0xBADD,
	CMSG_GM_LAG_REPORT = 0x0101,
	CMSG_GM_NUKE = 0xBADD,
	CMSG_GM_SET_SECURITY_GROUP = 0xBADD,
	CMSG_GM_SURVEY_SUBMIT = 0x01AB,
	CMSG_GM_TICKET_ACKNOWLEDGE_SURVEY = 0x0327,
	CMSG_GM_TICKET_CREATE = 0x0935,
	CMSG_GM_TICKET_DELETE_TICKET = 0x0F2E,
	CMSG_GM_TICKET_GET_CASE_STATUS = 0x0F0A,
	CMSG_GM_TICKET_GET_SYSTEM_STATUS = 0x0B0E,
	CMSG_GM_TICKET_GET_TICKET = 0x0B28,
	CMSG_GM_TICKET_RESPONSE_RESOLVE = 0x0B20,
	CMSG_GM_TICKET_UPDATE_TEXT = 0x0323,
	CMSG_GOSSIP_HELLO = 0x00F3,
	CMSG_GOSSIP_SELECT_OPTION = 0x0332,
	CMSG_GRANT_LEVEL = 0x0BE3,
	CMSG_GROUP_ASSISTANT_LEADER = 0xBADD,
	CMSG_GROUP_CANCEL = 0xBADD,
	CMSG_GROUP_CHANGE_SUB_GROUP = 0xBADD,
	CMSG_GROUP_DISBAND = 0xBADD,
	CMSG_GROUP_RAID_CONVERT = 0xBADD,
	CMSG_GROUP_REQUEST_JOIN_UPDATES = 0xBADD,
	CMSG_GROUP_SET_LEADER = 0xBADD,
	CMSG_GROUP_SET_ROLES = 0xBADD,
	CMSG_GROUP_SWAP_SUB_GROUP = 0xBADD,
	CMSG_GUILD_ACCEPT = 0xBADD,
	CMSG_GUILD_ADD_BATTLENET_FRIEND = 0x1437,
	CMSG_GUILD_ADD_RANK = 0x1630,
	CMSG_GUILD_ASSIGN_MEMBER_RANK = 0x0436,
	CMSG_GUILD_AUTO_DECLINE_INVITATION = 0x062F,
	CMSG_GUILD_BANKER_ACTIVATE = 0x19E3,
	CMSG_GUILD_BANK_BUY_TAB = 0x1BC3,
	CMSG_GUILD_BANK_DEPOSIT_MONEY = 0x1B11,
	CMSG_GUILD_BANK_LOG_QUERY = 0x0428,
	CMSG_GUILD_BANK_MONEY_WITHDRAWN_QUERY = 0x020D,
	CMSG_GUILD_BANK_NOTE = 0xBADD,
	CMSG_GUILD_BANK_QUERY_TAB = 0x1139,
	CMSG_GUILD_BANK_QUERY_TEXT = 0x062D,
	CMSG_GUILD_BANK_REMAINING_WITHDRAW_MONEY_QUERY = 0x063D,
	CMSG_GUILD_BANK_SET_TAB_TEXT = 0x0E30,
	CMSG_GUILD_BANK_SWAP_ITEMS = 0x1131,
	CMSG_GUILD_BANK_UPDATE_TAB = 0x13C1,
	CMSG_GUILD_BANK_WITHDRAW_MONEY = 0xBADD,
	CMSG_GUILD_CHANGE_NAME_REQUEST = 0x043E,
	CMSG_GUILD_DECLINE = 0x0667,
	CMSG_GUILD_DELETE = 0x1427,
	CMSG_GUILD_DELETE_RANK = 0x0C28,
	CMSG_GUILD_DEMOTE = 0x142F,
	CMSG_GUILD_DISBAND = 0xBADD,
	CMSG_GUILD_EVENT_LOG_QUERY = 0x0E37,
	CMSG_GUILD_GET_ACHIEVEMENT_MEMBERS = 0x0C40,
	CMSG_GUILD_GET_RANKS = 0x0C37,
	CMSG_GUILD_GET_ROSTER = 0x0638,
	CMSG_GUILD_INVITE_BY_NAME = 0x19A4,
	CMSG_GUILD_LEAVE = 0x0476,
	CMSG_GUILD_MEMBER_SEND_SOR_REQUEST = 0x0666,
	CMSG_GUILD_NEWS_UPDATE_STICKY = 0x1625,
	CMSG_GUILD_OFFICER_REMOVE_MEMBER = 0x042F,
	CMSG_GUILD_PERMISSIONS_QUERY = 0x1436,
	CMSG_GUILD_PROMOTE_MEMBER = 0x1467,
	CMSG_GUILD_QUERY = 0x0930,
	CMSG_GUILD_QUERY_MEMBERS_FOR_RECIPE = 0x0E2E,
	CMSG_GUILD_QUERY_MEMBER_RECIPES = 0x163D,
	CMSG_GUILD_QUERY_NEWS = 0x0676,
	CMSG_GUILD_QUERY_RECIPES = 0x1438,
	CMSG_GUILD_REPLACE_GUILD_MASTER = 0x163E,
	CMSG_GUILD_REQUEST_CHALLENGE_INFO = 0x166E,
	CMSG_GUILD_REQUEST_CHALLENGE_UPDATE = 0xBADD,
	CMSG_GUILD_REQUEST_MAX_DAILY_XP = 0xBADD,
	CMSG_GUILD_REQUEST_PARTY_STATE = 0x0A8E,
	CMSG_GUILD_SET_ACHIEVEMENT_TRACKING = 0x1640,
	CMSG_GUILD_SET_FOCUSED_ACHIEVEMENT = 0x0C7E,
	CMSG_GUILD_SET_GUILD_MASTER = 0x1184,
	CMSG_GUILD_SET_MEMBER_NOTE = 0x1C27,
	CMSG_GUILD_SET_NOTE = 0xBADD,
	CMSG_GUILD_SET_RANK_PERMISSIONS = 0x0E38,
	CMSG_GUILD_SHIFT_RANK = 0x0627,
	CMSG_GUILD_UPDATE_INFO_TEXT = 0x0C75,
	CMSG_GUILD_UPDATE_MOTD_TEXT = 0x0C2F,
	CMSG_HEARTH_AND_RESURRECT = 0x0D9D,
	CMSG_IGNORE_TRADE = 0x1419,
	CMSG_INCREASE_CAST_TIME_FOR_SPELL = 0x100A,
	CMSG_INITIATE_ROLE_POLL = 0x1BA2,
	CMSG_INITIATE_TRADE = 0x19BB,
	CMSG_INSPECT = 0x01EC,
	CMSG_INSPECT_PVP = 0x0382,
	CMSG_INSTANCE_LOCK_RESPONSE = 0x0808,
	CMSG_ITEM_PURCHASE_REFUND = 0x1111,
	CMSG_ITEM_REFUND = 0xBADD,
	CMSG_ITEM_TEXT_QUERY = 0xBADD,
	CMSG_JOIN_ARENA_SKIRMISH = 0x09EB,
	CMSG_JOIN_CHANNEL = 0x0B4B,
	CMSG_JOIN_PET_BATTLE_QUEUE = 0x04F4,
	CMSG_JOIN_RATED_BATTLEGROUND = 0x065A,
	CMSG_KEEP_ALIVE = 0x0981,
	CMSG_KEYBOUND_OVERRIDE = 0x0BBA,
	CMSG_LEARN_TALENTS = 0x0BB6,
	CMSG_LEAVE_CHANNEL = 0x19F2,
	CMSG_LEAVE_GROUP = 0x1BA3,
	CMSG_LEAVE_PET_BATTLE_QUEUE = 0x038D,
	CMSG_LFG_GET_STATUS = 0x1BA4,
	CMSG_LFG_JOIN = 0xBADD,
	CMSG_LFG_LEAVE = 0xBADD,
	CMSG_LFG_LFR_JOIN = 0xBADD,
	CMSG_LFG_LFR_LEAVE = 0xBADD,
	CMSG_LFG_LIST_CANCEL_APPLICATION = 0x1B83,
	CMSG_LFG_LIST_DECLINE_APPLICANT = 0x0916,
	CMSG_LFG_LIST_GET_STATUS = 0x0B17,
	CMSG_LFG_LIST_INVITE_APPLICANT = 0x12AB,
	CMSG_LFG_LIST_INVITE_RESPONSE = 0x13AB,
	CMSG_LFG_LIST_JOIN = 0x0B84,
	CMSG_LFG_LIST_LEAVE = 0x0DA9,
	CMSG_LFG_LIST_SEARCH = 0x0915,
	CMSG_LFG_LIST_UPDATE_REQUEST = 0x07BD,
	CMSG_LFG_LOCK_INFO_REQUEST = 0x030F,
	CMSG_LFG_PROPOSAL_RESULT = 0xBADD,
	CMSG_LFG_SET_BOOT_VOTE = 0xBADD,
	CMSG_LFG_SET_COMMENT = 0xBADD,
	CMSG_LFG_SET_ROLES = 0xBADD,
	CMSG_LFG_TELEPORT = 0xBADD,
	CMSG_LF_GUILD_ADD_RECRUIT = 0x1223,
	CMSG_LF_GUILD_BROWSE = 0x0BA3,
	CMSG_LF_GUILD_DECLINE_RECRUIT = 0x066D,
	CMSG_LF_GUILD_GET_APPLICATIONS = 0x043F,
	CMSG_LF_GUILD_GET_GUILD_POST = 0x0E68,
	CMSG_LF_GUILD_GET_RECRUITS = 0x0430,
	CMSG_LF_GUILD_POST_REQUEST = 0xBADD,
	CMSG_LF_GUILD_REMOVE_RECRUIT = 0x0680,
	CMSG_LF_GUILD_SET_GUILD_POST = 0x0B3D,
	CMSG_LIST_INVENTORY = 0x0B39,
	CMSG_LOAD_SCREEN = 0x0B08,
	CMSG_LOGOUT_CANCEL = 0x03C2,
	CMSG_LOGOUT_INSTANT = 0x00F1,
	CMSG_LOGOUT_REQUEST = 0x1911,
	CMSG_LOG_DISCONNECT = 0x04D5,
	CMSG_LOOT = 0x01B1,
	CMSG_LOOT_CURRENCY = 0xBADD,
	CMSG_LOOT_MASTER_GIVE = 0xBADD,
	CMSG_LOOT_METHOD = 0x0729,
	CMSG_LOOT_MONEY = 0x1991,
	CMSG_LOOT_RELEASE = 0x1199,
	CMSG_LOOT_ROLL = 0x09C5,
	CMSG_LOW_LEVEL_RAID1 = 0x09E9,
	CMSG_LOW_LEVEL_RAID2 = 0x0102,
	CMSG_MAIL_CREATE_TEXT_ITEM = 0x13D1,
	CMSG_MAIL_DELETE = 0x068C,
	CMSG_MAIL_MARK_AS_READ = 0x02D1,
	CMSG_MAIL_RETURN_TO_SENDER = 0x1B84,
	CMSG_MAIL_TAKE_ITEM = 0x0030,
	CMSG_MAIL_TAKE_MONEY = 0x0806,
	CMSG_MASTER_LOOT_ITEM = 0x0AA6,
	CMSG_MEETINGSTONE_INFO = 0xBADD,
	CMSG_MESSAGECHAT_ADDON_CHANNEL = 0x13DC,
	CMSG_MESSAGECHAT_ADDON_GUILD = 0x137C,
	CMSG_MESSAGECHAT_ADDON_INSTANCE = 0x1823,
	CMSG_MESSAGECHAT_ADDON_OFFICER = 0x188A,
	CMSG_MESSAGECHAT_ADDON_PARTY = 0x015C,
	CMSG_MESSAGECHAT_ADDON_RAID = 0x082C,
	CMSG_MESSAGECHAT_ADDON_WHISPER = 0x18A2,
	CMSG_MESSAGECHAT_AFK = 0x1BDC,
	CMSG_MESSAGECHAT_CHANNEL = 0x0913,
	CMSG_MESSAGECHAT_DND = 0x0AAB,
	CMSG_MESSAGECHAT_EMOTE = 0x113C,
	CMSG_MESSAGECHAT_GUILD = 0x0B1B,
	CMSG_MESSAGECHAT_INSTANCE = 0x0134,
	CMSG_MESSAGECHAT_OFFICER = 0x0114,
	CMSG_MESSAGECHAT_PARTY = 0x0803,
	CMSG_MESSAGECHAT_RAID = 0x0B33,
	CMSG_MESSAGECHAT_RAID_WARNING = 0x0313,
	CMSG_MESSAGECHAT_SAY = 0x1884,
	CMSG_MESSAGECHAT_WHISPER = 0x1829,
	CMSG_MESSAGECHAT_YELL = 0x1161,
	CMSG_MINIGAME_MOVE = 0xBADD,
	CMSG_MINIMAP_PING = 0x0116,
	CMSG_MISSILE_TRAJECTORY_COLLISION = 0x1B92,
	CMSG_MOUNT_SET_FAVORITE = 0x090E,
	CMSG_MOUNT_SPECIAL_ANIM = 0x06DB,
	CMSG_MOVE_APPLY_MOVEMENT_FORCE_ACK = 0x196C,
	CMSG_MOVE_CHANGE_TRANSPORT = 0x0969,
	CMSG_MOVE_CHANGE_VEHICLE_SEATS = 0x0581,
	CMSG_MOVE_CHARM_TELEPORT_CHEAT = 0x1942,
	CMSG_MOVE_CHNG_TRANSPORT = 0xBADD,
	CMSG_MOVE_DISMISS_VEHICLE = 0x020A,
	CMSG_MOVE_ENABLE_SWIM_TO_FLY_TRANS_ACK = 0x0284,
	CMSG_MOVE_FALL_LAND = 0x0D54,
	CMSG_MOVE_FALL_RESET = 0x0522,
	CMSG_MOVE_FEATHER_FALL_ACK = 0x1142,
	CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK = 0x05D3,
	CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK = 0x028B,
	CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK = 0x0591,
	CMSG_MOVE_FORCE_ROOT_ACK = 0x0B73,
	CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK = 0x0089,
	CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK = 0x0B7C,
	CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK = 0x0533,
	CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK = 0x008A,
	CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK = 0x0DC1,
	CMSG_MOVE_FORCE_UNROOT_ACK = 0x0B6C,
	CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK = 0x0204,
	CMSG_MOVE_GRAVITY_DISABLE_ACK = 0x0553,
	CMSG_MOVE_GRAVITY_ENABLE_ACK = 0x1952,
	CMSG_MOVE_HEARTBEAT = 0x19C1,
	CMSG_MOVE_HOVER_ACK = 0x0542,
	CMSG_MOVE_JUMP = 0x0282,
	CMSG_MOVE_KNOCK_BACK_ACK = 0x09C1,
	CMSG_MOVE_NOT_ACTIVE_MOVER = 0xBADD,
	CMSG_MOVE_REMOVE_MOVEMENT_FORCES = 0x0D52,
	CMSG_MOVE_REMOVE_MOVEMENT_FORCE_ACK = 0x01C1,
	CMSG_MOVE_SET_CAN_FLY = 0xBADD,
	CMSG_MOVE_SET_CAN_FLY_ACK = 0x0202,
	CMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY_ACK = 0xBADD,
	CMSG_MOVE_SET_CAN_TURN_WHILE_FALLING_ACK = 0x0531,
	CMSG_MOVE_SET_COLLISION_HEIGHT_ACK = 0x0141,
	CMSG_MOVE_SET_FACING = 0x19D2,
	CMSG_MOVE_SET_FLY = 0x09D2,
	CMSG_MOVE_SET_IGNORE_MOVEMENT_FORCES_ACK = 0x05C3,
	CMSG_MOVE_SET_PITCH = 0x0D92,
	CMSG_MOVE_SET_RELATIVE_POSITION = 0x0973,
	CMSG_MOVE_SET_RUN_MODE = 0x0D51,
	CMSG_MOVE_SET_VEHICLE_REC_ID_ACK = 0x1973,
	CMSG_MOVE_SET_WALK_MODE = 0x0544,
	CMSG_MOVE_SPLINE_DONE = 0x0B63,
	CMSG_MOVE_START_ASCEND = 0x0D41,
	CMSG_MOVE_START_BACKWARD = 0x0583,
	CMSG_MOVE_START_DESCEND = 0x0B79,
	CMSG_MOVE_START_FORWARD = 0x0521,
	CMSG_MOVE_START_PITCH_DOWN = 0x0151,
	CMSG_MOVE_START_PITCH_UP = 0x1974,
	CMSG_MOVE_START_STRAFE_LEFT = 0x0082,
	CMSG_MOVE_START_STRAFE_RIGHT = 0x1151,
	CMSG_MOVE_START_SWIM = 0x0B7A,
	CMSG_MOVE_START_TURN_LEFT = 0x0D14,
	CMSG_MOVE_START_TURN_RIGHT = 0x0964,
	CMSG_MOVE_STOP = 0x0513,
	CMSG_MOVE_STOP_ASCEND = 0x197C,
	CMSG_MOVE_STOP_PITCH = 0x0503,
	CMSG_MOVE_STOP_STRAFE = 0x01D1,
	CMSG_MOVE_STOP_SWIM = 0x097C,
	CMSG_MOVE_STOP_TURN = 0x000B,
	CMSG_MOVE_TELEPORT_ACK = 0x0D01,
	CMSG_MOVE_TELEPORT_CHEAT = 0x196A,
	CMSG_MOVE_TIME_SKIPPED = 0x19C2,
	CMSG_MOVE_TOGGLE_COLLISION_ACK = 0xBADD,
	CMSG_MOVE_TOGGLE_COLLISION_CHEAT = 0x008B,
	CMSG_MOVE_WATER_WALK_ACK = 0x0543,
	CMSG_MOVE_WORLDPORT_ACK = 0x0938,
	CMSG_NAME_QUERY = 0x0B15,
	CMSG_NEUTRAL_PLAYER_SELECT_FACTION = 0x0B5A,
	CMSG_NEW_SPELL_SLOT = 0xBADD,
	CMSG_NEXT_CINEMATIC_CAMERA = 0x1B3A,
	CMSG_NPC_TEXT_QUERY = 0x0ECB,
	CMSG_OBJECT_UPDATE_FAILED = 0x14E2,
	CMSG_OBJECT_UPDATE_RESCUED = 0x0AD6,
	CMSG_OFFER_PETITION = 0x0315,
	CMSG_OPENING_CINEMATIC = 0x02D2,
	CMSG_OPEN_GARRISON_MISSION_NPC = 0x03D9,
	CMSG_OPEN_ITEM = 0x08AD,
	CMSG_OPEN_SHIPMENT_GAME_OBJ = 0x1359,
	CMSG_OPEN_SHIPMENT_NPC = 0x0432,
	CMSG_OPT_OUT_OF_LOOT = 0x0810,
	CMSG_PAGE_TEXT_QUERY = 0x0BBB,
	CMSG_PARTY_INVITE = 0x122C,
	CMSG_PARTY_INVITE_RESPONSE = 0x118A,
	CMSG_PARTY_SILENCE = 0xBADD,
	CMSG_PARTY_UNINVITE = 0x1982,
	CMSG_PARTY_UNSILENCE = 0xBADD,
	CMSG_PETITION_BUY = 0x0010,
	CMSG_PETITION_QUERY = 0xBADD,
	CMSG_PETITION_RENAME_GUILD = 0x0920,
	CMSG_PETITION_SHOW_LIST = 0x000F,
	CMSG_PETITION_SHOW_SIGNATURES = 0x0BC4,
	CMSG_PETITION_SIGN = 0xBADD,
	CMSG_PET_ABANDON = 0x0005,
	CMSG_PET_ACTION = 0x133A,
	CMSG_PET_BATTLE_FINAL_NOTIF = 0x0565,
	CMSG_PET_BATTLE_INPUT = 0x0989,
	CMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH_RESULT = 0x140A,
	CMSG_PET_BATTLE_QUIT_NOTIFY = 0x03D5,
	CMSG_PET_BATTLE_REPLACE_FRONT_PET = 0x0936,
	CMSG_PET_BATTLE_REQUEST_PVP = 0x1CDC,
	CMSG_PET_BATTLE_REQUEST_WILD = 0x03C6,
	CMSG_PET_BATTLE_SCRIPT_ERROR_NOTIFY = 0x09CA,
	CMSG_PET_CANCEL_AURA = 0x0A30,
	CMSG_PET_CAST_SPELL = 0x0286,
	CMSG_PET_LEARN_TALENT = 0xBADD,
	CMSG_PET_NAME_CACHE = 0xBADD,
	CMSG_PET_NAME_QUERY = 0x1433,
	CMSG_PET_RENAME = 0x093F,
	CMSG_PET_SET_ACTION = 0x020F,
	CMSG_PET_SET_SPECIALIZATION = 0x08D6,
	CMSG_PET_SPELL_AUTOCAST = 0x0A2F,
	CMSG_PET_STOP_ATTACK = 0x19E2,
	CMSG_PING = 0x0416,
	CMSG_PLAYED_TIME = 0x1BB2,
	CMSG_PLAYER_LOGIN = 0x0B1D,
	CMSG_PLAYER_TIME_ADJUSTMENT_RESPONSE = 0x0289,
	CMSG_PLAYER_VEHICLE_ENTER = 0xBADD,
	CMSG_PLAY_DANCE = 0xBADD,
	CMSG_PORT_GRAVEYARD = 0x0D3E,
	CMSG_PUSH_QUEST_TO_PARTY = 0x13E3,
	CMSG_PVP_LOG_DATA = 0x08B5,
	CMSG_QUERY_CORPSE_LOCATION_FROM_CLIENT = 0x128A,
	CMSG_QUERY_CORPSE_TRANSPORT = 0x0908,
	CMSG_QUERY_COUNTDOWN_TIMER = 0x09DE,
	CMSG_QUERY_GUILD_XP = 0xBADD,
	CMSG_QUERY_INSPECT_ACHIEVEMENTS = 0x0A07,
	CMSG_QUERY_NEXT_MAIL_TIME = 0x0B31,
	CMSG_QUERY_PETITION = 0x048B,
	CMSG_QUERY_SCENARIO_POI = 0x09A1,
	CMSG_QUERY_TIME = 0x1489,
	CMSG_QUESTGIVER_ACCEPT_QUEST = 0x13D3,
	CMSG_QUESTGIVER_CANCEL = 0xBADD,
	CMSG_QUESTGIVER_CHOOSE_REWARD = 0x0DAD,
	CMSG_QUESTGIVER_COMPLETE_QUEST = 0x1E8A,
	CMSG_QUESTGIVER_HELLO = 0x058E,
	CMSG_QUESTGIVER_QUERY_QUEST = 0x1924,
	CMSG_QUESTGIVER_QUEST_AUTOLAUNCH = 0xBADD,
	CMSG_QUESTGIVER_REQUEST_REWARD = 0x022E,
	CMSG_QUESTGIVER_STATUS_MULTIPLE_QUERY = 0x0131,
	CMSG_QUESTGIVER_STATUS_QUERY = 0x01E2,
	CMSG_QUESTLOG_REMOVE_QUEST = 0x0139,
	CMSG_QUESTLOG_SWAP_QUEST = 0xBADD,
	CMSG_QUEST_CONFIRM_ACCEPT = 0x058D,
	CMSG_QUEST_NPC_QUERY = 0x0B81,
	CMSG_QUEST_POI_QUERY = 0x0BD9,
	CMSG_QUEST_PUSH_RESULT = 0x03D2,
	CMSG_QUEST_QUERY = 0x09A6,
	CMSG_QUEUED_MESSAGES_END = 0x04DF,
	CMSG_RANDOMIZE_CHAR_NAME = 0x1981,
	CMSG_RANDOM_ROLL = 0x12AA,
	CMSG_READY_CHECK_RESPONSE = 0x071A,
	CMSG_READ_ITEM = 0x09B9,
	CMSG_REAGENT_BANK_BUY_TAB = 0x11E4,
	CMSG_REALM_NAME_QUERY = 0x1189,
	CMSG_RECLAIM_CORPSE = 0x1BC4,
	CMSG_RECRUIT_A_FRIEND = 0x07BA,
	CMSG_REGISTER_ADDON_PREFIXES = 0x03F4,
	CMSG_REORDER_CHARACTERS = 0x0DAA,
	CMSG_REPAIR_ITEM = 0x0B54,
	CMSG_REPLACE_ACCOUNT_DATA = 0xBADD,
	CMSG_REPLACE_TROPHY = 0x1431,
	CMSG_REPOP_REQUEST = 0x1BC2,
	CMSG_REPORT_PVP_AFK = 0x113A,
	CMSG_REQUEST_ACCOUNT_DATA = 0x0F3E,
	CMSG_REQUEST_ARTIFACT_COMPLETION_HISTORY = 0x13D9,
	CMSG_REQUEST_BATTLEFIELD_STATUS = 0x0320,
	CMSG_REQUEST_CATEGORY_COOLDOWNS = 0x1B99,
	CMSG_REQUEST_CEMETERY_LIST = 0x10A2,
	CMSG_REQUEST_CONQUEST_FORMULA_CONSTANTS = 0x0359,
	CMSG_REQUEST_FORCED_REACTIONS = 0x02C3,
	CMSG_REQUEST_GUILD_REWARDS_LIST = 0x028D,
	CMSG_REQUEST_HONOR_STATS = 0x09FD,
	CMSG_REQUEST_LFG_LIST_BLACKLIST = 0x0BCA,
	CMSG_REQUEST_PARTY_JOIN_UPDATES = 0x071D,
	CMSG_REQUEST_PARTY_MEMBER_STATS = 0x031D,
	CMSG_REQUEST_PET_INFO = 0x1B12,
	CMSG_REQUEST_PVP_OPTIONS_ENABLED = 0x1101,
	CMSG_REQUEST_PVP_REWARDS = 0x1399,
	CMSG_REQUEST_RAID_INFO = 0x0104,
	CMSG_REQUEST_RATED_BATTLEFIELD_INFO = 0x1323,
	CMSG_REQUEST_RATED_BG_STATS = 0xBADD,
	CMSG_REQUEST_RESEARCH_HISTORY = 0xBADD,
	CMSG_REQUEST_STABLED_PETS = 0x059D,
	CMSG_REQUEST_VEHICLE_EXIT = 0x09CE,
	CMSG_REQUEST_VEHICLE_NEXT_SEAT = 0x1672,
	CMSG_REQUEST_VEHICLE_PREV_SEAT = 0x0527,
	CMSG_REQUEST_VEHICLE_SWITCH_SEAT = 0x0AED,
	CMSG_RESET_CHALLENGE_MODE = 0x1619,
	CMSG_RESET_FACTION_CHEAT = 0xBADD,
	CMSG_RESET_INSTANCES = 0x0389,
	CMSG_RESURRECT_RESPONSE = 0x073E,
	CMSG_REVERT_TROPHY = 0x0085,
	CMSG_RIDE_VEHICLE_INTERACT = 0x11BC,
	CMSG_ROLE_POLL_BEGIN = 0xBADD,
	CMSG_ROUTER_CLIENT_LOG_STREAMING_ERROR = 0x0C10,
	CMSG_SAVE_CUF_PROFILES = 0x0053,
	CMSG_SAVE_GUILD_EMBLEM = 0x00F6,
	CMSG_SAVE_PLAYER = 0xBADD,
	CMSG_SCENE_PLAYBACK_CANCELED = 0x14B3,
	CMSG_SCENE_PLAYBACK_COMPLETE = 0x0537,
	CMSG_SCENE_TRIGGER_EVENT = 0x11B9,
	CMSG_SELF_RES = 0x1343,
	CMSG_SELL_ITEM = 0x0351,
	CMSG_SEND_CONTACT_LIST = 0x079E,
	CMSG_SEND_MAIL = 0x0910,
	CMSG_SEND_SOR_REQUEST_VIA_ADDRESS = 0x0D39,
	CMSG_SEND_SOR_REQUEST_VIA_BNET_ACCOUNT_ID = 0x13A2,
	CMSG_SERVERTIME = 0xBADD,
	CMSG_SETDEATHBINDPOINT = 0xBADD,
	CMSG_SET_ACHIEVEMENTS_HIDDEN = 0x0464,
	CMSG_SET_ACTIONBAR_TOGGLES = 0x0BD2,
	CMSG_SET_ACTION_BUTTON = 0x0599,
	CMSG_SET_ACTIVE_MOVER = 0x0971,
	CMSG_SET_ACTIVE_VOICE_CHANNEL = 0x031E,
	CMSG_SET_ADVANCED_COMBAT_LOGGING = 0x0ECC,
	CMSG_SET_ASSISTANT_LEADER = 0x0B26,
	CMSG_SET_BACKPACK_AUTOSORT_DISABLED = 0x0C9C,
	CMSG_SET_BANK_AUTOSORT_DISABLED = 0x1393,
	CMSG_SET_CONTACT_NOTES = 0x03AC,
	CMSG_SET_CURRENCY_FLAGS = 0x14A1,
	CMSG_SET_DIFFICULTY_ID = 0x01F6,
	CMSG_SET_DUNGEON_DIFFICULTY = 0x012F,
	CMSG_SET_EVERYONE_IS_ASSISTANT = 0x0F3D,
	CMSG_SET_FACTION_AT_WAR = 0x051E,
	CMSG_SET_FACTION_CHEAT = 0xBADD,
	CMSG_SET_FACTION_INACTIVE = 0x09E2,
	CMSG_SET_FACTION_NOT_AT_WAR = 0x0A06,
	CMSG_SET_GUILD_BANK_TEXT = 0xBADD,
	CMSG_SET_INSERT_ITEMS_LEFT_TO_RIGHT = 0x02C4,
	CMSG_SET_LFG_BONUS_FACTION_ID = 0x009D,
	CMSG_SET_LFG_COMMENT = 0xBADD,
	CMSG_SET_LOOT_SPECIALIZATION = 0x0226,
	CMSG_SET_PARTY_ASSIGNMENT = 0x050A,
	CMSG_SET_PARTY_LEADER = 0x091E,
	CMSG_SET_PET_SLOT = 0x0BFD,
	CMSG_SET_PLAYER_DECLINED_NAMES = 0x018B,
	CMSG_SET_PREFERED_CEMETERY = 0x1461,
	CMSG_SET_PVP = 0x19B9,
	CMSG_SET_RAID_DIFFICULTY = 0x1121,
	CMSG_SET_RELATIVE_POSITION = 0xBADD,
	CMSG_SET_ROLE = 0x0326,
	CMSG_SET_SAVED_INSTANCE_EXTEND = 0x1222,
	CMSG_SET_SELECTION = 0x05BD,
	CMSG_SET_SHEATHED = 0x1B43,
	CMSG_SET_SKILL_CHEAT = 0xBADD,
	CMSG_SET_SORT_BAGS_RIGHT_TO_LEFT = 0x089D,
	CMSG_SET_SPECIALIZATION = 0x0AC5,
	CMSG_SET_TAXI_BENCHMARK_MODE = 0x1332,
	CMSG_SET_TITLE = 0x0BC6,
	CMSG_SET_TRADE_CURRENCY = 0x1462,
	CMSG_SET_TRADE_GOLD = 0x064C,
	CMSG_SET_TRADE_ITEM = 0x14A2,
	CMSG_SET_VEHICLE_REC_ID_ACK = 0xBADD,
	CMSG_SET_WATCHED_FACTION = 0x0206,
	CMSG_SHOWING_CLOAK = 0x0132,
	CMSG_SHOWING_HELM = 0x11E1,
	CMSG_SHOW_TRADE_SKILL = 0x07AD,
	CMSG_SIGN_PETITION = 0x0B03,
	CMSG_SILENCE_PARTY_TALKER = 0x0BAC,
	CMSG_SOCKET_GEMS = 0x1BE1,
	CMSG_SORT_BAGS = 0x0AE6,
	CMSG_SORT_BANK_BAGS = 0x06E4,
	CMSG_SORT_REAGENT_BANK_BAGS = 0x0557,
	CMSG_SPELLCLICK = 0x0BC2,
	CMSG_SPIRIT_HEALER_ACTIVATE = 0x03EC,
	CMSG_SPLIT_ITEM = 0x0795,
	CMSG_STAND_STATE_CHANGE = 0x0ABD,
	CMSG_START_QUEST = 0xBADD,
	CMSG_START_SPECTATOR_WARGAME = 0x13A3,
	CMSG_START_WARGAME = 0x03A2,
	CMSG_STOP_DANCE = 0xBADD,
	CMSG_STORE_LOOT_IN_SLOT = 0xBADD,
	CMSG_SUBMIT_BUG = 0xBADD,
	CMSG_SUBMIT_COMPLAIN = 0xBADD,
	CMSG_SUGGESTION_SUBMIT = 0xBADD,
	CMSG_SUMMON_RESPONSE = 0x1124,
	CMSG_SUPPORT_TICKET_SUBMIT_BUG = 0x0B0D,
	CMSG_SUPPORT_TICKET_SUBMIT_COMPLAINT = 0x0B37,
	CMSG_SUPPORT_TICKET_SUBMIT_SUGGESTION = 0x0D0A,
	CMSG_SUSPEND_COMMS_ACK = 0x0C56,
	CMSG_SUSPEND_TOKEN_RESPONSE = 0x041E,
	CMSG_SWAP_INV_ITEM = 0x0F17,
	CMSG_SWAP_ITEM = 0x0736,
	CMSG_SWAP_SUB_GROUPS = 0x0106,
	CMSG_SYNC_DANCE = 0xBADD,
	CMSG_TABARD_VENDOR_ACTIVATE = 0x08EE,
	CMSG_TAXICLEARALLNODES = 0xBADD,
	CMSG_TAXIENABLEALLNODES = 0xBADD,
	CMSG_TAXISHOWNODES = 0xBADD,
	CMSG_TAXI_NODE_STATUS_QUERY = 0x1BC1,
	CMSG_TAXI_QUERY_AVAILABLE_NODES = 0x000E,
	CMSG_TELEPORT_TO_UNIT = 0x0F19,
	CMSG_TEXT_EMOTE = 0x1901,
	CMSG_TIME_ADJUSTMENT_RESPONSE = 0xBADD,
	CMSG_TIME_SYNC_RESPONSE = 0x0003,
	CMSG_TIME_SYNC_RESPONSE_DROPPED = 0x0D93,
	CMSG_TIME_SYNC_RESPONSE_FAILED = 0x1B73,
	CMSG_TOGGLE_DIFFICULTY = 0x0123,
	CMSG_TOGGLE_PVP = 0x149B,
	CMSG_TOTEM_DESTROYED = 0x000D,
	CMSG_TOY_SET_FAVORITE = 0x0105,
	CMSG_TRAINER_BUY_SPELL = 0x0A28,
	CMSG_TRAINER_LIST = 0x0A2E,
	CMSG_TRANSMOGRIFY_ITEMS = 0x0A85,
	CMSG_TRIGGER_CINEMATIC_CHEAT = 0xBADD,
	CMSG_TROPHY_MONUMENT_LOAD_SELECTED_TROPHY_ID = 0x03DE,
	CMSG_TURN_IN_PETITION = 0x1C89,
	CMSG_TUTORIAL_FLAG = 0x0B16,
	CMSG_UI_TIME_REQUEST = 0x0302,
	CMSG_UNACCEPT_TRADE = 0x13BA,
	CMSG_UNDELETE_CHARACTER = 0x0D99,
	CMSG_UNLEARN_SKILL = 0x0A26,
	CMSG_UNLEARN_SPECIALIZATION = 0x16CB,
	CMSG_UNREGISTER_ALL_ADDON_PREFIXES = 0x082A,
	CMSG_UPDATE_ACCOUNT_DATA = 0x12A1,
	CMSG_UPDATE_CLIENT_SETTINGS = 0x090F,
	CMSG_UPDATE_MISSILE_TRAJECTORY = 0x1CDB,
	CMSG_UPDATE_PROJECTILE_POSITION = 0xBADD,
	CMSG_UPDATE_RAID_TARGET = 0x1122,
	CMSG_UPGRADE_GARRISON = 0x0526,
	CMSG_UPGRADE_ITEM = 0x0518,
	CMSG_USED_FOLLOW = 0x1609,
	CMSG_USE_CRITTER_ITEM = 0x0BBE,
	CMSG_USE_EQUIPMENT_SET = 0x0756,
	CMSG_USE_ITEM = 0x08B6,
	CMSG_USE_TOY = 0x16E2,
	CMSG_VIOLENCE_LEVEL = 0x098D,
	CMSG_VOICE_ADD_IGNORE = 0x098A,
	CMSG_VOICE_DEL_IGNORE = 0x0128,
	CMSG_VOICE_SESSION_ENABLE = 0x1102,
	CMSG_VOID_STORAGE_QUERY = 0x019E,
	CMSG_VOID_STORAGE_TRANSFER = 0x0463,
	CMSG_VOID_STORAGE_UNLOCK = 0x13BB,
	CMSG_VOID_SWAP_ITEM = 0x0619,
	CMSG_WARDEN_DATA = 0x0BA1,
	CMSG_WARGAME_ACCEPT = 0xBADD,
	CMSG_WARGAME_START = 0xBADD,
	CMSG_WHO = 0x1322,
	CMSG_WHOIS = 0x011F,
	CMSG_WORLD_TELEPORT = 0x038A,
	CMSG_WRAP_ITEM = 0x0797,
	CMSG_ZONEUPDATE = 0xBADD,
	MSG_GM_BIND_OTHER = 0xBADD,
	MSG_GM_SHOWLABEL = 0xBADD,
	MSG_GM_SUMMON = 0xBADD,
	MSG_INSPECT_ARENA_TEAMS = 0xBADD,
	MSG_MOVE_CHARM_TELEPORT_CHEAT = 0xBADD,
	MSG_MOVE_SET_ALL_SPEED_CHEAT = 0xBADD,
	MSG_MOVE_SET_FLIGHT_SPEED_CHEAT = 0xBADD,
	MSG_MOVE_SET_RAW_POSITION_ACK = 0xBADD,
	MSG_MOVE_SET_RUN_BACK_SPEED_CHEAT = 0xBADD,
	MSG_MOVE_SET_RUN_SPEED_CHEAT = 0xBADD,
	MSG_MOVE_SET_SWIM_BACK_SPEED_CHEAT = 0xBADD,
	MSG_MOVE_SET_SWIM_SPEED_CHEAT = 0xBADD,
	MSG_MOVE_SET_TURN_RATE_CHEAT = 0xBADD,
	MSG_MOVE_SET_WALK_SPEED_CHEAT = 0xBADD,
	MSG_MOVE_TOGGLE_FALL_LOGGING = 0xBADD,
	MSG_MOVE_TOGGLE_LOGGING = 0xBADD,
	MSG_NOTIFY_PARTY_SQUELCH = 0xBADD
};

// SMSGs 6.0.3.19342
enum OpcodeServer : uint32
{
	SMSG_ABORT_NEW_WORLD = 0x138C,
	SMSG_ACCOUNT_CRITERIA_UPDATE = 0x0912,
	SMSG_ACCOUNT_DATA_TIMES = 0x0120,
	SMSG_ACCOUNT_INFO_RESPONSE = 0xBADD,
	SMSG_ACCOUNT_MOUNT_UPDATE = 0x0140,
	SMSG_ACCOUNT_RESTRICTED_WARNING = 0xBADD,
	SMSG_ACCOUNT_TOYS_UPDATE = 0x0590,
	SMSG_ACHIEVEMENT_DELETED = 0x050E,
	SMSG_ACHIEVEMENT_EARNED = 0x010E,
	SMSG_ACTION_BUTTONS = 0x1D1F,
	SMSG_ACTIVATE_TAXI_REPLY = 0x1321,
	SMSG_ADDON_INFO = 0x1D9F,
	SMSG_ADD_BATTLENET_FRIEND_RESPONSE = 0x1BD4,
	SMSG_ADD_ITEM_PASSIVE = 0x13D2,
	SMSG_ADD_LOSS_OF_CONTROL = 0x02F4,
	SMSG_ADD_RUNE_POWER = 0x0322,
	SMSG_ADJUST_SPLINE_DURATION = 0x0104,
	SMSG_AE_LOOT_TARGETS = 0x15AF,
	SMSG_AE_LOOT_TARGET_ACK = 0x031D,
	SMSG_AI_REACTION = 0x0BA1,
	SMSG_ALL_ACCOUNT_CRITERIA = 0x0123,
	SMSG_ALL_ACHIEVEMENT_DATA = 0x0030,
	SMSG_ALL_GUILD_ACHIEVEMENTS = 0x1866,
	SMSG_ARCHAEOLOGY_SURVERY_CAST = 0x0008,
	SMSG_AREA_SPIRIT_HEALER_TIME = 0x1182,
	SMSG_AREA_TRIGGER_DENIED = 0x018A,
	SMSG_AREA_TRIGGER_MESSAGE = 0xBADD,
	SMSG_AREA_TRIGGER_MOVEMENT_UPDATE = 0xBADD,
	SMSG_AREA_TRIGGER_NO_CORPSE = 0x0D3F,
	SMSG_AREA_TRIGGER_RE_PATH = 0x0D20,
	SMSG_AREA_TRIGGER_RE_SHAPE = 0x12A3,
	SMSG_ARENA_ERROR = 0x120B,
	SMSG_ARENA_PREP_OPPONENT_SPECIALIZATIONS = 0x03AA,
	SMSG_ARENA_TEAM_CHANGE_FAILED_QUEUED = 0xBADD,
	SMSG_ARENA_TEAM_COMMAND_RESULT = 0xBADD,
	SMSG_ARENA_TEAM_EVENT = 0xBADD,
	SMSG_ARENA_TEAM_INVITE = 0xBADD,
	SMSG_ARENA_TEAM_QUERY_RESPONSE = 0xBADD,
	SMSG_ARENA_TEAM_ROSTER = 0xBADD,
	SMSG_ARENA_TEAM_STATS = 0xBADD,
	SMSG_ATTACKERSTATEUPDATE = 0x1204,
	SMSG_ATTACKSTART = 0x1D3E,
	SMSG_ATTACKSTOP = 0x1382,
	SMSG_ATTACKSWING_ERROR = 0x0509,
	SMSG_ATTACKSWING_LANDED_LOG = 0x178E,
	SMSG_AUCTION_BIDDER_NOTIFICATION = 0xBADD,
	SMSG_AUCTION_CLOSED_NOTIFICATION = 0x058E,
	SMSG_AUCTION_COMMAND_RESULT = 0x0B2D,
	SMSG_AUCTION_HELLO_RESPONSE = 0x011F,
	SMSG_AUCTION_LIST_BIDDER_ITEMS_RESULT = 0x01E9,
	SMSG_AUCTION_LIST_ITEMS_RESULT = 0x0BA4,
	SMSG_AUCTION_LIST_OWNER_ITEMS_RESULT = 0x0B42,
	SMSG_AUCTION_LIST_PENDING_SALES_RESULT = 0x0332,
	SMSG_AUCTION_OUTBID_NOTIFICATION = 0x172E,
	SMSG_AUCTION_OWNER_BID_NOTIFICATION = 0x0026,
	SMSG_AUCTION_OWNER_NOTIFICATION = 0xBADD,
	SMSG_AUCTION_REMOVED_NOTIFICATION = 0xBADD,
	SMSG_AUCTION_REPLICATE_RESPONSE = 0x0325,
	SMSG_AUCTION_WON_NOTIFICATION = 0x0D90,
	SMSG_AURACASTLOG = 0xBADD,
	SMSG_AURA_POINTS_DEPLETED = 0x093B,
	SMSG_AURA_UPDATE = 0x091C,
	SMSG_AUTH_CHALLENGE = 0x1759,
	SMSG_AUTH_RESPONSE = 0x0DA9,
	SMSG_AVAILABLE_VOICE_CHANNEL = 0x04D4,
	SMSG_AVERAGE_ITEM_LEVEL_INFORM = 0xBADD,
	SMSG_BARBER_SHOP_RESULT = 0x150D,
	SMSG_BATTLEFIELD_LIST = 0x11A1,
	SMSG_BATTLEFIELD_MGR_DROP_TIMER_CANCELED = 0x179A,
	SMSG_BATTLEFIELD_MGR_DROP_TIMER_STARTED = 0x098B,
	SMSG_BATTLEFIELD_MGR_EJECTED = 0x0DAF,
	SMSG_BATTLEFIELD_MGR_EJECT_PENDING = 0x09A1,
	SMSG_BATTLEFIELD_MGR_ENTERED = 0x11A3,
	SMSG_BATTLEFIELD_MGR_ENTRY_INVITE = 0xBADD,
	SMSG_BATTLEFIELD_MGR_EXIT_REQUEST = 0xBADD,
	SMSG_BATTLEFIELD_MGR_INVITE = 0x128B,
	SMSG_BATTLEFIELD_MGR_QUEUE_INVITE = 0x0B32,
	SMSG_BATTLEFIELD_MGR_QUEUE_REQUEST_RESPONSE = 0x0B28,
	SMSG_BATTLEFIELD_MGR_STATE_CHANGED = 0x13C3,
	SMSG_BATTLEFIELD_PORT_DENIED = 0x0930,
	SMSG_BATTLEFIELD_RATED_INFO = 0x1F0A,
	SMSG_BATTLEFIELD_STATUS_ACTIVE = 0x1284,
	SMSG_BATTLEFIELD_STATUS_FAILED = 0x0308,
	SMSG_BATTLEFIELD_STATUS_NEEDCONFIRMATION = 0x1719,
	SMSG_BATTLEFIELD_STATUS_NONE = 0x1E89,
	SMSG_BATTLEFIELD_STATUS_QUEUED = 0x002D,
	SMSG_BATTLEFIELD_STATUS_WAITFORGROUPS = 0x082D,
	SMSG_BATTLEGROUND_INFO_THROTTLED = 0x19E2,
	SMSG_BATTLEGROUND_INIT = 0x13C4,
	SMSG_BATTLEGROUND_PLAYER_JOINED = 0x13EA,
	SMSG_BATTLEGROUND_PLAYER_LEFT = 0x1BD1,
	SMSG_BATTLEGROUND_PLAYER_POSITIONS = 0x1BE9,
	SMSG_BATTLEGROUND_POINTS = 0x122A,
	SMSG_BATTLENET_CHALLENGE_ABORT = 0x0010,
	SMSG_BATTLENET_CHALLENGE_START = 0x1322,
	SMSG_BATTLE_PAY_ACK_FAILED = 0x013D,
	SMSG_BATTLE_PAY_CONFIRM_PURCHASE = 0x0938,
	SMSG_BATTLE_PAY_DELIVERY_ENDED = 0x1D2F,
	SMSG_BATTLE_PAY_DELIVERY_STARTED = 0x0927,
	SMSG_BATTLE_PAY_DISTRIBUTION_UPDATE = 0x0BE3,
	SMSG_BATTLE_PAY_GET_DISTRIBUTION_LIST_RESPONSE = 0x0F2A,
	SMSG_BATTLE_PAY_GET_PRODUCT_LIST_RESPONSE = 0x12A4,
	SMSG_BATTLE_PAY_GET_PURCHASE_LIST_RESPONSE = 0x168A,
	SMSG_BATTLE_PAY_PURCHASE_UPDATE = 0x092F,
	SMSG_BATTLE_PAY_START_DISTRIBUTION_ASSIGN_TO_TARGET_RESPONSE = 0x03A2,
	SMSG_BATTLE_PAY_START_PURCHASE_RESPONSE = 0x0BA3,
	SMSG_BATTLE_PET_CAGE_DATE_ERROR = 0x1D1E,
	SMSG_BATTLE_PET_DELETED = 0x0138,
	SMSG_BATTLE_PET_ERROR = 0x0227,
	SMSG_BATTLE_PET_HEALED = 0x1BC1,
	SMSG_BATTLE_PET_JOURNAL = 0x19A2,
	SMSG_BATTLE_PET_JOURNAL_LOCK_ACQUIRED = 0x01A3,
	SMSG_BATTLE_PET_JOURNAL_LOCK_DENIED = 0x1BEC,
	SMSG_BATTLE_PET_LICENSE_CHANGED = 0x0FA9,
	SMSG_BATTLE_PET_RESTORED = 0x159D,
	SMSG_BATTLE_PET_REVOKED = 0x0936,
	SMSG_BATTLE_PET_TRAP_LEVEL = 0x0911,
	SMSG_BATTLE_PET_UPDATES = 0x0354,
	SMSG_BINDER_CONFIRM = 0x0B11,
	SMSG_BINDPOINTUPDATE = 0x0A30,
	SMSG_BINDZONEREPLY = 0xBADD,
	SMSG_BLACK_MARKET_BID_ON_ITEM_RESULT = 0x0825,
	SMSG_BLACK_MARKET_OPEN_RESULT = 0x0A05,
	SMSG_BLACK_MARKET_OUTBID = 0x0B1D,
	SMSG_BLACK_MARKET_REQUEST_ITEMS_RESULT = 0x1BC2,
	SMSG_BLACK_MARKET_WON = 0x1BAA,
	SMSG_BONUS_ROLL_EMPTY = 0x0BEA,
	SMSG_BREAK_TARGET = 0x11A2,
	SMSG_BUY_BANK_SLOT_RESULT = 0xBADD,
	SMSG_BUY_FAILED = 0x013A,
	SMSG_BUY_SUCCEEDED = 0x0BD1,
	SMSG_CALENDAR_ACTION_PENDING = 0xBADD,
	SMSG_CALENDAR_ARENA_TEAM = 0xBADD,
	SMSG_CALENDAR_CLEAR_PENDING_ACTION = 0x1E8A,
	SMSG_CALENDAR_COMMAND_RESULT = 0x138A,
	SMSG_CALENDAR_EVENT_INITIAL_INVITES = 0x0139,
	SMSG_CALENDAR_EVENT_INVITE = 0x0BA2,
	SMSG_CALENDAR_EVENT_INVITE_ALERT = 0x0A0F,
	SMSG_CALENDAR_EVENT_INVITE_MODERATOR_STATUS = 0x0B52,
	SMSG_CALENDAR_EVENT_INVITE_NOTES = 0x0208,
	SMSG_CALENDAR_EVENT_INVITE_NOTES_ALERT = 0x1104,
	SMSG_CALENDAR_EVENT_INVITE_REMOVED = 0x1F0E,
	SMSG_CALENDAR_EVENT_INVITE_REMOVED_ALERT = 0x0116,
	SMSG_CALENDAR_EVENT_INVITE_STATUS = 0x1183,
	SMSG_CALENDAR_EVENT_INVITE_STATUS_ALERT = 0x1BD3,
	SMSG_CALENDAR_EVENT_MODERATOR_STATUS_ALERT = 0xBADD,
	SMSG_CALENDAR_EVENT_REMOVED_ALERT = 0x1124,
	SMSG_CALENDAR_EVENT_STATUS = 0xBADD,
	SMSG_CALENDAR_EVENT_UPDATED_ALERT = 0x1D9D,
	SMSG_CALENDAR_FILTER_GUILD = 0xBADD,
	SMSG_CALENDAR_RAID_LOCKOUT_ADDED = 0x0901,
	SMSG_CALENDAR_RAID_LOCKOUT_REMOVED = 0x0122,
	SMSG_CALENDAR_RAID_LOCKOUT_UPDATED = 0x09A4,
	SMSG_CALENDAR_SEND_CALENDAR = 0x0184,
	SMSG_CALENDAR_SEND_EVENT = 0x0225,
	SMSG_CALENDAR_SEND_NUM_PENDING = 0x1B3A,
	SMSG_CALENDAR_UPDATE_INVITE_LIST = 0xBADD,
	SMSG_CAMERA_SHAKE = 0x0926,
	SMSG_CANCEL_AUTO_REPEAT = 0x0B18,
	SMSG_CANCEL_COMBAT = 0x05AD,
	SMSG_CANCEL_ORPHAN_SPELL_VISUAL = 0x1BFB,
	SMSG_CANCEL_SCENE = 0x033F,
	SMSG_CANCEL_SPELL_VISUAL = 0x0361,
	SMSG_CANCEL_SPELL_VISUAL_KIT = 0x1173,
	SMSG_CAN_DUEL_RESULT = 0x03E9,
	SMSG_CAST_FAILED = 0x1A89,
	SMSG_CHALLENGE_MODE_ALL_MAP_STATS = 0x0904,
	SMSG_CHALLENGE_MODE_COMPLETE = 0x1B31,
	SMSG_CHALLENGE_MODE_MAP_STATS_UPDATE = 0x0135,
	SMSG_CHALLENGE_MODE_NEW_PLAYER_RECORD = 0x13A3,
	SMSG_CHALLENGE_MODE_REQUEST_LEADERS_RESULT = 0x07AA,
	SMSG_CHALLENGE_MODE_REWARDS = 0x1CC9,
	SMSG_CHALLENGE_MODE_START = 0x1221,
	SMSG_CHANGE_PLAYER_DIFFICULTY_RESULT = 0x0826,
	SMSG_CHANNEL_LIST = 0x1411,
	SMSG_CHANNEL_NOTIFY = 0x0643,
	SMSG_CHANNEL_NOTIFY_JOINED = 0x1602,
	SMSG_CHANNEL_NOTIFY_LEFT = 0x1452,
	SMSG_CHANNEL_START = 0x016C,
	SMSG_CHANNEL_UPDATE = 0x19DB,
	SMSG_CHARACTER_LOGIN_FAILED = 0x091E,
	SMSG_CHARACTER_OBJECT_TEST_RESPONSE = 0x038A,
	SMSG_CHARACTER_UPGRADE_COMPLETE = 0x0806,
	SMSG_CHARACTER_UPGRADE_SPELL_TIER_SET = 0x0B23,
	SMSG_CHAR_CREATE = 0x0107,
	SMSG_CHAR_CUSTOMIZE = 0x1932,
	SMSG_CHAR_CUSTOMIZE_RESULT = 0x0BAA,
	SMSG_CHAR_DELETE = 0x0BC4,
	SMSG_CHAR_ENUM = 0x05AF,
	SMSG_CHAR_FACTION_CHANGE = 0x0810,
	SMSG_CHAR_RENAME = 0x0D89,
	SMSG_CHAR_UPGRADE_STARTED = 0x01E2,
	SMSG_CHAT_AUTO_RESPONDED = 0x1482,
	SMSG_CHAT_DOWN = 0x0611,
	SMSG_CHAT_IGNORED_ACCOUNT_MUTED = 0x14C2,
	SMSG_CHAT_IS_DOWN = 0x0404,
	SMSG_CHAT_NOT_IN_PARTY = 0x0604,
	SMSG_CHAT_PLAYER_AMBIGUOUS = 0x06C1,
	SMSG_CHAT_PLAYER_NOT_FOUND = 0x0614,
	SMSG_CHAT_RECONNECT = 0x0613,
	SMSG_CHAT_RESTRICTED = 0x0484,
	SMSG_CHAT_WRONG_FACTION = 0xBADD,
	SMSG_CHEAT_IGNORE_DIMISHING_RETURNS = 0x194C,
	SMSG_CHECK_FOR_BOTS = 0xBADD,
	SMSG_CHECK_WARGAME_ENTRY = 0x1203,
	SMSG_CLEAR_ALL_SPELL_CHARGE = 0x088B,
	SMSG_CLEAR_BOSS_EMOTES = 0x118B,
	SMSG_CLEAR_COOLDOWN = 0x0226,
	SMSG_CLEAR_COOLDOWNS = 0x0BFA,
	SMSG_CLEAR_FAR_SIGHT_IMMEDIATE = 0xBADD,
	SMSG_CLEAR_LOSS_OF_CONTROL = 0x1D20,
	SMSG_CLEAR_QUEST_COMPLETED_BIT = 0x1563,
	SMSG_CLEAR_QUEST_COMPLETED_BITS = 0x1D47,
	SMSG_CLEAR_SPELL_CHARGES = 0x1AA1,
	SMSG_CLEAR_TARGET = 0x17AE,
	SMSG_CLIENTCACHE_VERSION = 0x080D,
	SMSG_CLIENT_CONTROL_UPDATE = 0x080E,
	SMSG_COIN_REMOVED = 0x0D30,
	SMSG_COMBAT_EVENT_FAILED = 0x1DAF,
	SMSG_COMBAT_LOG_MULTIPLE = 0xBADD,
	SMSG_COMMENTATOR_MAP_INFO = 0x1922,
	SMSG_COMMENTATOR_PARTY_INFO = 0xBADD,
	SMSG_COMMENTATOR_PLAYER_INFO = 0x1B23,
	SMSG_COMMENTATOR_SKIRMISH_QUEUE_RESULT1 = 0xBADD,
	SMSG_COMMENTATOR_SKIRMISH_QUEUE_RESULT2 = 0xBADD,
	SMSG_COMMENTATOR_STATE_CHANGED = 0x133A,
	SMSG_COMPLAINT_RESULT = 0x0B15,
	SMSG_COMPLETE_SHIPMENT_RESPONSE = 0x0F3A,
	SMSG_COMPRESSED_MOVES = 0xBADD,
	SMSG_COMPRESSED_PACKET = 0x07CA,
	SMSG_COMSAT_CONNECT_FAIL = 0xBADD,
	SMSG_COMSAT_DISCONNECT = 0xBADD,
	SMSG_COMSAT_RECONNECT_TRY = 0xBADD,
	SMSG_CONQUEST_FORMULA_CONSTANTS = 0x1342,
	SMSG_CONSOLE_WRITE = 0x0230,
	SMSG_CONTACT_LIST = 0x0210,
	SMSG_CONTACT_STATUS = 0x1BEA,
	SMSG_CONVERT_RUNE = 0x1C89,
	SMSG_COOLDOWN_CHEAT = 0x118A,
	SMSG_COOLDOWN_EVENT = 0x05B0,
	SMSG_CORPSE_LOCATION = 0x09E1,
	SMSG_CORPSE_RECLAIM_DELAY = 0x0BE2,
	SMSG_CORPSE_TRANSPORT_QUERY = 0x13AB,
	SMSG_CREATE_SHIPMENT_RESPONSE = 0x11AB,
	SMSG_CREATURE_QUERY_RESPONSE = 0x0A26,
	SMSG_CRITERIA_DELETED = 0x0105,
	SMSG_CRITERIA_UPDATE = 0x1904,
	SMSG_CROSSED_INEBRIATION_THRESHOLD = 0x0103,
	SMSG_CURRENCY_LOOT_REMOVED = 0xBADD,
	SMSG_CURRENCY_LOOT_RESTORED = 0xBADD,
	SMSG_CUSTOM_LOAD_SCREEN = 0x0D1A,
	SMSG_DAILY_QUESTS_RESET = 0x1514,
	SMSG_DAMAGE_CALC_LOG = 0x1689,
	SMSG_DAMAGE_DONE_OBSOLETE = 0xBADD,
	SMSG_DANCE_QUERY_RESPONSE = 0xBADD,
	SMSG_DANCE_STUDIO_CREATE_RESULT = 0x178D,
	SMSG_DB_REPLY = 0x1939,
	SMSG_DEATH_RELEASE_LOC = 0x098C,
	SMSG_DEBUG_SERVER_GEO = 0xBADD,
	SMSG_DEFENSE_MESSAGE = 0x1442,
	SMSG_DESTROY_ARENA_UNIT = 0x19E1,
	SMSG_DESTRUCTIBLE_BUILDING_DAMAGE = 0x0A28,
	SMSG_DIFFERENT_INSTANCE_FROM_PARTY = 0x0B12,
	SMSG_DISENCHANT_CREDIT = 0x050F,
	SMSG_DISMOUNT = 0x0B89,
	SMSG_DISMOUNT_RESULT = 0x0381,
	SMSG_DISPEL_FAILED = 0x0AA3,
	SMSG_DISPLAY_GAME_ERROR = 0x090D,
	SMSG_DISPLAY_PLAYER_CHOICE = 0x0907,
	SMSG_DISPLAY_PROMOTION = 0x151D,
	SMSG_DISPLAY_QUEST_POPUP = 0x15D7,
	SMSG_DISPLAY_TOAST = 0x17BD,
	SMSG_DONT_AUTO_PUSH_SPELLS_TO_ACTION_BAR = 0x13D1,
	SMSG_DROP_NEW_CONNECTION = 0xBADD,
	SMSG_DUEL_COMPLETE = 0x14C9,
	SMSG_DUEL_COUNTDOWN = 0x020E,
	SMSG_DUEL_IN_BOUNDS = 0x03E4,
	SMSG_DUEL_OUT_OF_BOUNDS = 0x0111,
	SMSG_DUEL_REQUESTED = 0x0827,
	SMSG_DUEL_WINNER = 0x0935,
	SMSG_DUMP_RIDE_TICKETS_RESPONSE = 0xBADD,
	SMSG_DURABILITY_DAMAGE_DEATH = 0x01EC,
	SMSG_ECHO_PARTY_SQUELCH = 0xBADD,
	SMSG_EMOTE = 0x071D,
	SMSG_ENABLE_BARBER_SHOP = 0x13A2,
	SMSG_ENCHANTMENT_LOG = 0x15AD,
	SMSG_ENCOUNTER_END = 0x0311,
	SMSG_ENCOUNTER_START = 0x1B8A,
	SMSG_ENVIRONMENTALDAMAGELOG = 0x0AAB,
	SMSG_EQUIPMENT_SET_LIST = 0x0F1E,
	SMSG_EQUIPMENT_SET_SAVED = 0x0027,
	SMSG_EXPECTED_SPAM_RECORDS = 0x0452,
	SMSG_EXPLORATION_EXPERIENCE = 0x07AE,
	SMSG_FACTION_BONUS_INFO = 0x0928,
	SMSG_FAILED_PLAYER_CONDITION = 0x09AB,
	SMSG_FEATURE_SYSTEM_STATUS = 0x0B1E,
	SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN = 0x1540,
	SMSG_FEIGN_DEATH_RESISTED = 0x1B43,
	SMSG_FISH_ESCAPED = 0x0530,
	SMSG_FISH_NOT_HOOKED = 0x0DC0,
	SMSG_FLIGHT_SPLINE_SYNC = 0x08A5,
	SMSG_FLOOD_DETECTED = 0xBADD,
	SMSG_FORCEACTIONSHOW = 0xBADD,
	SMSG_FORCED_DEATH_UPDATE = 0x09EB,
	SMSG_FORCE_ANIM = 0x0028,
	SMSG_FORCE_DISPLAY_UPDATE = 0xBADD,
	SMSG_FORCE_OBJECT_RELINK = 0x059D,
	SMSG_FORGE_MASTER_SET = 0xBADD,
	SMSG_GAMEOBJECT_ACTIVATE_ANIM_KIT = 0x038C,
	SMSG_GAMEOBJECT_CUSTOM_ANIM = 0x03EB,
	SMSG_GAMEOBJECT_DESPAWN = 0x0D29,
	SMSG_GAMEOBJECT_DESPAWN_ANIM = 0xBADD,
	SMSG_GAMEOBJECT_PAGETEXT = 0xBADD,
	SMSG_GAMEOBJECT_PLAY_SPELL_VISUAL = 0x191B,
	SMSG_GAMEOBJECT_PLAY_SPELL_VISUAL_KIT = 0x01DB,
	SMSG_GAMEOBJECT_QUERY_RESPONSE = 0x128A,
	SMSG_GAMEOBJECT_RESET_STATE = 0x090E,
	SMSG_GAME_EVENT_DEBUG_LOG = 0xBADD,
	SMSG_GAME_SPEED_SET = 0x0D40,
	SMSG_GAME_TIME_SET = 0x0B40,
	SMSG_GAME_TIME_UPDATE = 0x1709,
	SMSG_GARRISON_ADD_FOLLOWER_RESULT = 0x0544,
	SMSG_GARRISON_ADD_MISSION_RESULT = 0x0973,
	SMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING_RESULT = 0x0B7C,
	SMSG_GARRISON_BUILDING_ACTIVATED = 0x1974,
	SMSG_GARRISON_BUILDING_REMOVED = 0x1151,
	SMSG_GARRISON_COMPLETE_MISSION_RESULT = 0x0D54,
	SMSG_GARRISON_FOLLOWER_CHANGED_XP = 0x1B64,
	SMSG_GARRISON_LANDINGPAGE_SHIPMENTS = 0x1901,
	SMSG_GARRISON_LEARN_BLUEPRINT_RESULT = 0x000B,
	SMSG_GARRISON_MISSION_BONUS_ROLL_RESULT = 0x0952,
	SMSG_GARRISON_MONUMENT_SELECTED_TROPHY_ID_LOADED = 0x09EA,
	SMSG_GARRISON_OPEN_TRADESKILL_NPC_RESPONSE = 0x09C1,
	SMSG_GARRISON_PLACE_BUILDING_RESULT = 0x0082,
	SMSG_GARRISON_PLOT_REMOVED = 0x0513,
	SMSG_GARRISON_REMOTE_INFO = 0x0151,
	SMSG_GARRISON_REQUEST_BLUEPRINT_AND_SPECIALIZATION_DATA_RESULT = 0x0964,
	SMSG_GARRISON_SET_NUM_FOLLOWER_ACTIVATIONS_REMAINING = 0x0D92,
	SMSG_GARRISON_START_MISSION_RESULT = 0x0D01,
	SMSG_GARRISON_UNK1 = 0x0543,
	SMSG_GARRISON_UNK3 = 0x096B,
	SMSG_GARRISON_UPGRADEABLE_RESULT = 0x0522,
	SMSG_GARRISON_UPGRADE_FOLLOWER_ITEM_LEVEL = 0x000C,
	SMSG_GARRISON_UPGRADE_RESULT = 0x0D51,
	SMSG_GET_ACCOUNT_CHARACTER_LIST_RESULT = 0x1D3F,
	SMSG_GET_GARRISON_INFO_RESULT = 0x0521,
	SMSG_GET_SHIPMENT_INFO_RESPONSE = 0x1BAB,
	SMSG_GET_TROPHY_LIST_RESPONSE = 0x0126,
	SMSG_GM_MESSAGECHAT = 0xBADD,
	SMSG_GM_PLAYER_INFO = 0x0118,
	SMSG_GM_REQUEST_PLAYER_INFO = 0x1381,
	SMSG_GM_TICKET_CASE_STATUS = 0x1D8D,
	SMSG_GM_TICKET_GET_TICKET_RESPONSE = 0x0389,
	SMSG_GM_TICKET_RESOLVE_RESPONSE = 0x091F,
	SMSG_GM_TICKET_RESPONSE = 0x03EA,
	SMSG_GM_TICKET_RESPONSE_ERROR = 0x070D,
	SMSG_GM_TICKET_STATUS_UPDATE = 0x1D2E,
	SMSG_GM_TICKET_SYSTEM_STATUS = 0x1229,
	SMSG_GM_TICKET_UPDATE = 0x13EB,
	SMSG_GOD_MODE = 0x0B36,
	SMSG_GOSSIP_COMPLETE = 0x15D1,
	SMSG_GOSSIP_MESSAGE = 0x1746,
	SMSG_GOSSIP_POI = 0x011E,
	SMSG_GROUP_ACTION_THROTTLED = 0x0136,
	SMSG_GROUP_CANCEL = 0xBADD,
	SMSG_GROUP_DECLINE = 0x153F,
	SMSG_GROUP_DESTROYED = 0x1982,
	SMSG_GROUP_NEW_LEADER = 0x0984,
	SMSG_GROUP_SET_ROLE = 0xBADD,
	SMSG_GROUP_UNINVITE = 0x0110,
	SMSG_GUILD_ACHIEVEMENT_DELETED = 0x1058,
	SMSG_GUILD_ACHIEVEMENT_EARNED = 0x1048,
	SMSG_GUILD_ACHIEVEMENT_MEMBERS = 0x1826,
	SMSG_GUILD_BANK_LIST = 0x1245,
	SMSG_GUILD_BANK_LOG_QUERY_RESULT = 0x1237,
	SMSG_GUILD_BANK_MONEY_WITHDRAWN = 0x1047,
	SMSG_GUILD_BANK_QUERY_TEXT_RESULT = 0x1875,
	SMSG_GUILD_CANCEL = 0xBADD,
	SMSG_GUILD_CHALLENGE_COMPLETED = 0x1836,
	SMSG_GUILD_CHALLENGE_UPDATED = 0x1A06,
	SMSG_GUILD_CHANGE_NAME_RESULT = 0x1006,
	SMSG_GUILD_COMMAND_RESULT = 0x1205,
	SMSG_GUILD_COMMAND_RESULT_2 = 0xBADD,
	SMSG_GUILD_CRITERIA_DELETED = 0x1805,
	SMSG_GUILD_CRITERIA_UPDATE = 0x1208,
	SMSG_GUILD_DECLINE = 0xBADD,
	SMSG_GUILD_EVENT = 0xBADD,
	SMSG_GUILD_EVENT_BANK_CONTENTS_CHANGED = 0x1045,
	SMSG_GUILD_EVENT_BANK_MONEY_CHANGED = 0x1077,
	SMSG_GUILD_EVENT_DISBANDED = 0x1A08,
	SMSG_GUILD_EVENT_LOG_QUERY_RESULTS = 0x1075,
	SMSG_GUILD_EVENT_MOTD = 0x1825,
	SMSG_GUILD_EVENT_NEW_LEADER = 0x1005,
	SMSG_GUILD_EVENT_PLAYER_JOINED = 0x1257,
	SMSG_GUILD_EVENT_PLAYER_LEFT = 0x1206,
	SMSG_GUILD_EVENT_PRESENCE_CHANGE = 0x1228,
	SMSG_GUILD_EVENT_RANKS_UPDATED = 0x1018,
	SMSG_GUILD_EVENT_RANK_CHANGED = 0x1276,
	SMSG_GUILD_EVENT_TAB_ADDED = 0x1868,
	SMSG_GUILD_EVENT_TAB_DELETED = 0x1808,
	SMSG_GUILD_EVENT_TAB_MODIFIED = 0x1035,
	SMSG_GUILD_EVENT_TAB_TEXT_CHANGED = 0x1076,
	SMSG_GUILD_FLAGGED_FOR_RENAME = 0x1248,
	SMSG_GUILD_INVITE = 0x1025,
	SMSG_GUILD_INVITE_CANCEL = 0xBADD,
	SMSG_GUILD_INVITE_DECLINED = 0x1226,
	SMSG_GUILD_INVITE_EXPIRED = 0x1246,
	SMSG_GUILD_KNOWN_RECIPES = 0x1078,
	SMSG_GUILD_MAX_DAILY_XP = 0xBADD,
	SMSG_GUILD_MEMBERS_WITH_RECIPE = 0x1277,
	SMSG_GUILD_MEMBER_DAILY_RESET = 0x1015,
	SMSG_GUILD_MEMBER_RECIPES = 0x1036,
	SMSG_GUILD_MEMBER_UPDATE_NOTE = 0x1846,
	SMSG_GUILD_MOVED = 0x1838,
	SMSG_GUILD_MOVE_COMPLETE = 0xBADD,
	SMSG_GUILD_MOVE_STARTING = 0x1877,
	SMSG_GUILD_NAME_CHANGED = 0x1A07,
	SMSG_GUILD_NEWS = 0x1027,
	SMSG_GUILD_NEWS_DELETED = 0x1007,
	SMSG_GUILD_NEWS_UPDATE = 0xBADD,
	SMSG_GUILD_PARTY_STATE_RESPONSE = 0x1225,
	SMSG_GUILD_PERMISSIONS_QUERY_RESULTS = 0x1827,
	SMSG_GUILD_QUERY_RESPONSE = 0x1046,
	SMSG_GUILD_RANKS = 0x1218,
	SMSG_GUILD_REPUTATION_REACTION_CHANGED = 0x1068,
	SMSG_GUILD_REPUTATION_WEEKLY_CAP = 0xBADD,
	SMSG_GUILD_RESET = 0x1258,
	SMSG_GUILD_REWARDS_LIST = 0x1818,
	SMSG_GUILD_ROSTER = 0x1026,
	SMSG_GUILD_ROSTER_UPDATE = 0x1265,
	SMSG_GUILD_SEND_RANK_CHANGE = 0x1207,
	SMSG_GUILD_SET_NOTE = 0xBADD,
	SMSG_GUILD_TRADESKILL_UPDATE = 0xBADD,
	SMSG_GUILD_XP = 0xBADD,
	SMSG_GUILD_XP_GAIN = 0xBADD,
	SMSG_GUILD_XP_UPDATE = 0xBADD,
	SMSG_HEALTH_UPDATE = 0x0BE1,
	SMSG_HIGHEST_THREAT_UPDATE = 0x059A,
	SMSG_HOTFIX_NOTIFY = 0x1304,
	SMSG_HOTFIX_NOTIFY_BLOB = 0x1D1D,
	SMSG_IGNORE_DIMINISHING_RETURNS_CHEAT = 0xBADD,
	SMSG_IGNORE_REQUIREMENTS_CHEAT = 0xBADD,
	SMSG_INCREASE_CAST_TIME_FOR_SPELL = 0x1179,
	SMSG_INITIALIZE_FACTIONS = 0x0B10,
	SMSG_INITIAL_SETUP = 0x0B07,
	SMSG_INITIAL_SPELLS = 0x0A81,
	SMSG_INIT_WORLD_STATES = 0x0B04,
	SMSG_INSPECT_HONOR_STATS = 0x02D3,
	SMSG_INSPECT_PVP = 0x050A,
	SMSG_INSPECT_RESULT = 0x052E,
	SMSG_INSTANCE_ENCOUNTER_CHANGE_PRIORITY = 0x0B03,
	SMSG_INSTANCE_ENCOUNTER_DISENGAGE_UNIT = 0x05AE,
	SMSG_INSTANCE_ENCOUNTER_END = 0x0B1A,
	SMSG_INSTANCE_ENCOUNTER_ENGAGE_UNIT = 0x0137,
	SMSG_INSTANCE_ENCOUNTER_GAIN_COMBAT_RESURRECTION_CHARGE = 0x15BD,
	SMSG_INSTANCE_ENCOUNTER_IN_COMBAT_RESURRECTION = 0x13A1,
	SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_COMPLETE = 0x150E,
	SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_START = 0x0F8D,
	SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_UPDATE = 0x0B0D,
	SMSG_INSTANCE_ENCOUNTER_PHASE_SHIFT_CHANGED = 0x19EA,
	SMSG_INSTANCE_ENCOUNTER_START = 0x051A,
	SMSG_INSTANCE_ENCOUNTER_TIMER_START = 0x010F,
	SMSG_INSTANCE_GROUP_SIZE_CHANGED = 0x1B8B,
	SMSG_INSTANCE_INFO = 0x0DA0,
	SMSG_INSTANCE_LOCK_WARNING_QUERY = 0xBADD,
	SMSG_INSTANCE_RESET = 0x0B16,
	SMSG_INSTANCE_RESET_FAILED = 0x1189,
	SMSG_INSTANCE_SAVE_CREATED = 0x093A,
	SMSG_INVALIDATE_DANCE = 0xBADD,
	SMSG_INVALIDATE_PLAYER = 0x0B37,
	SMSG_INVALID_PROMOTION_CODE = 0x1F09,
	SMSG_INVENTORY_CHANGE_FAILURE = 0x0112,
	SMSG_IS_QUEST_COMPLETE_RESPONSE = 0x17E1,
	SMSG_ITEM_BONUS_DEBUG = 0x1D8E,
	SMSG_ITEM_COOLDOWN = 0x090F,
	SMSG_ITEM_ENCHANT_TIME_UPDATE = 0x010D,
	SMSG_ITEM_EXPIRE_PURCHASE_REFUND = 0x1282,
	SMSG_ITEM_PURCHASE_REFUND_RESULT = 0x0B3D,
	SMSG_ITEM_PUSH_RESULT = 0x0183,
	SMSG_ITEM_REFUND_INFO_RESPONSE = 0xBADD,
	SMSG_ITEM_REFUND_RESULT = 0xBADD,
	SMSG_ITEM_TEXT_QUERY_RESPONSE = 0x011A,
	SMSG_ITEM_TIME_UPDATE = 0x0F3E,
	SMSG_ITEM_UPGRADE_RESULT = 0x0B2E,
	SMSG_JOINED_BATTLEGROUND_QUEUE = 0xBADD,
	SMSG_KICK_REASON = 0x018C,
	SMSG_LEARNED_DANCE_MOVES = 0xBADD,
	SMSG_LEARNED_SPELLS = 0x08AB,
	SMSG_LEARN_TALENT_FAILED = 0x1BA3,
	SMSG_LEVELUP_INFO = 0x1BE4,
	SMSG_LFG_BOOT_PLAYER = 0x07B3,
	SMSG_LFG_BOOT_PROPOSAL_UPDATE = 0xBADD,
	SMSG_LFG_DISABLED = 0x0714,
	SMSG_LFG_JOIN_RESULT = 0x0F72,
	SMSG_LFG_LIST_JOIN_RESULT = 0x0793,
	SMSG_LFG_LIST_UPDATE_BLACKLIST = 0x0754,
	SMSG_LFG_LIST_UPDATE_STATUS = 0x0F18,
	SMSG_LFG_OFFER_CONTINUE = 0x0797,
	SMSG_LFG_OPEN_FROM_GOSSIP = 0xBADD,
	SMSG_LFG_PARTY_INFO = 0x0F92,
	SMSG_LFG_PLAYER_INFO = 0x0F36,
	SMSG_LFG_PLAYER_REWARD = 0x0F15,
	SMSG_LFG_PROPOSAL_UPDATE = 0x0F32,
	SMSG_LFG_QUEUE_STATUS = 0x07F1,
	SMSG_LFG_ROLE_CHECK_UPDATE = 0x0736,
	SMSG_LFG_ROLE_CHOSEN = 0xBADD,
	SMSG_LFG_SEARCH_RESULTS = 0x0798,
	SMSG_LFG_SLOT_INVALID = 0x07B1,
	SMSG_LFG_TELEPORT_DENIED = 0x0795,
	SMSG_LFG_UPDATE_LIST = 0xBADD,
	SMSG_LFG_UPDATE_SEARCH = 0xBADD,
	SMSG_LFG_UPDATE_STATUS = 0x07F7,
	SMSG_LF_GUILD_APPLICANT_LIST_UPDATED = 0x1815,
	SMSG_LF_GUILD_APPLICATIONS = 0x1227,
	SMSG_LF_GUILD_APPLICATIONS_LIST_CHANGED = 0x1247,
	SMSG_LF_GUILD_BROWSE = 0x1215,
	SMSG_LF_GUILD_COMMAND_RESULT = 0x1217,
	SMSG_LF_GUILD_MEMBERSHIP_LIST_UPDATED = 0xBADD,
	SMSG_LF_GUILD_POST = 0x1817,
	SMSG_LF_GUILD_RECRUITS = 0x1008,
	SMSG_LIST_INVENTORY = 0x0940,
	SMSG_LIVE_REGION_ACCOUNT_RESTORE_RESULT = 0x113A,
	SMSG_LIVE_REGION_CHARACTER_COPY_RESULT = 0x082E,
	SMSG_LIVE_REGION_GET_ACCOUNT_CHARACTER_LIST_RESULT = 0x11E1,
	SMSG_LOAD_CUF_PROFILES = 0x1530,
	SMSG_LOGIN_SETTIMESPEED = 0x09AA,
	SMSG_LOGIN_VERIFY_WORLD = 0x0B19,
	SMSG_LOGOUT_CANCEL_ACK = 0x0FAD,
	SMSG_LOGOUT_COMPLETE = 0x0B21,
	SMSG_LOGOUT_RESPONSE = 0x052D,
	SMSG_LOG_XPGAIN = 0x1B53,
	SMSG_LOOT_ALL_PASSED = 0x0DBD,
	SMSG_LOOT_CLEAR_MONEY = 0xBADD,
	SMSG_LOOT_CONTENTS = 0x02F1,
	SMSG_LOOT_ITEM_LIST = 0x1789,
	SMSG_LOOT_ITEM_NOTIFY = 0xBADD,
	SMSG_LOOT_LIST = 0x03A4,
	SMSG_LOOT_MASTER_LIST = 0xBADD,
	SMSG_LOOT_MONEY_NOTIFY = 0x12A9,
	SMSG_LOOT_RELEASE = 0x0BD3,
	SMSG_LOOT_RELEASE_ALL = 0x198C,
	SMSG_LOOT_REMOVED = 0x0906,
	SMSG_LOOT_RESPONSE = 0x0F8A,
	SMSG_LOOT_ROLL = 0x1BE2,
	SMSG_LOOT_ROLLS_COMPLETE = 0x0D2F,
	SMSG_LOOT_ROLL_WON = 0x071E,
	SMSG_LOOT_SLOT_CHANGED = 0xBADD,
	SMSG_LOSS_OF_CONTROL_AURA_UPDATE = 0x0305,
	SMSG_MAIL_LIST_RESULT = 0x0B3F,
	SMSG_MAIL_QUERY_NEXT_TIME_RESULT = 0x153D,
	SMSG_MAP_OBJECTIVES_INIT = 0x1323,
	SMSG_MAP_OBJ_EVENTS = 0x031A,
	SMSG_MASTER_LOOT_CANDIDATE_LIST = 0x171D,
	SMSG_MEETINGSTONE_COMPLETE = 0xBADD,
	SMSG_MEETINGSTONE_IN_PROGRESS = 0xBADD,
	SMSG_MEETINGSTONE_MEMBER_ADDED = 0xBADD,
	SMSG_MEETINGSTONE_SETQUEUE = 0xBADD,
	SMSG_MESSAGECHAT = 0x0603,
	SMSG_MESSAGE_BOX = 0x0D10,
	SMSG_MINIGAME_SETUP = 0xBADD,
	SMSG_MINIGAME_STATE = 0xBADD,
	SMSG_MINIMAP_PING = 0x07BA,
	SMSG_MIRROR_IMAGE_COMPONENTED_DATA = 0x1B5C,
	SMSG_MIRROR_IMAGE_CREATURE_DATA = 0x1B14,
	SMSG_MISSILE_CANCEL = 0x0337,
	SMSG_MODIFY_COOLDOWN = 0x17BA,
	SMSG_MONEY_NOTIFY = 0xBADD,
	SMSG_MOTD = 0x0442,
	SMSG_MOUNT_RESULT = 0x000F,
	SMSG_MOVE_APPLY_MOVEMENT_FORCE = 0x06CB,
	SMSG_MOVE_DISABLE_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY = 0x00C5,
	SMSG_MOVE_DISABLE_COLLISION = 0x135A,
	SMSG_MOVE_DISABLE_GRAVITY = 0x02C6,
	SMSG_MOVE_ENABLE_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY = 0x08CE,
	SMSG_MOVE_ENABLE_COLLISION = 0x01B5,
	SMSG_MOVE_ENABLE_GRAVITY = 0x03B4,
	SMSG_MOVE_KNOCK_BACK = 0x0CCB,
	SMSG_MOVE_REMOVE_MOVEMENT_FORCE = 0x0073,
	SMSG_MOVE_ROOT = 0x1B5A,
	SMSG_MOVE_SET_ACTIVE_MOVER = 0x1021,
	SMSG_MOVE_SET_ANIM_KIT = 0x052F,
	SMSG_MOVE_SET_CAN_FLY = 0x01F6,
	SMSG_MOVE_SET_CAN_TURN_WHILE_FALLING = 0x09B2,
	SMSG_MOVE_SET_COLLISION_HEIGHT = 0x008D,
	SMSG_MOVE_SET_COMPOUND_STATE = 0x02E5,
	SMSG_MOVE_SET_FEATHER_FALL = 0x01DD,
	SMSG_MOVE_SET_FLIGHT_BACK_SPEED = 0x0BDA,
	SMSG_MOVE_SET_FLIGHT_SPEED = 0x100B,
	SMSG_MOVE_SET_HOVER = 0x0296,
	SMSG_MOVE_SET_IGNORE_MOVEMENT_FORCES = 0x1BD9,
	SMSG_MOVE_SET_LAND_WALK = 0x13DA,
	SMSG_MOVE_SET_NORMAL_FALL = 0x0193,
	SMSG_MOVE_SET_PITCH_RATE = 0x0BBC,
	SMSG_MOVE_SET_RUN_BACK_SPEED = 0x09C5,
	SMSG_MOVE_SET_RUN_SPEED = 0x08F5,
	SMSG_MOVE_SET_SWIM_BACK_SPEED = 0x09E6,
	SMSG_MOVE_SET_SWIM_SPEED = 0x061A,
	SMSG_MOVE_SET_TURN_RATE = 0x0B4A,
	SMSG_MOVE_SET_VEHICLE_REC_ID = 0x09DD,
	SMSG_MOVE_SET_WALK_IN_AIR = 0xBADD,
	SMSG_MOVE_SET_WALK_SPEED = 0x0396,
	SMSG_MOVE_SET_WATER_WALK = 0x02A6,
	SMSG_MOVE_SKIP_TIME = 0x08A6,
	SMSG_MOVE_SPLINE_DISABLE_COLLISION = 0x1349,
	SMSG_MOVE_SPLINE_DISABLE_GRAVITY = 0x0A86,
	SMSG_MOVE_SPLINE_ENABLE_COLLISION = 0x02DE,
	SMSG_MOVE_SPLINE_ENABLE_GRAVITY = 0x0659,
	SMSG_MOVE_SPLINE_ROOT = 0x1959,
	SMSG_MOVE_SPLINE_SET_ANIM = 0xBADD,
	SMSG_MOVE_SPLINE_SET_FEATHER_FALL = 0x01FD,
	SMSG_MOVE_SPLINE_SET_FLIGHT_BACK_SPEED = 0x0061,
	SMSG_MOVE_SPLINE_SET_FLIGHT_SPEED = 0x060C,
	SMSG_MOVE_SPLINE_SET_FLYING = 0x02BD,
	SMSG_MOVE_SPLINE_SET_HOVER = 0x0BD6,
	SMSG_MOVE_SPLINE_SET_LAND_WALK = 0x01BC,
	SMSG_MOVE_SPLINE_SET_NORMAL_FALL = 0x11B1,
	SMSG_MOVE_SPLINE_SET_PITCH_RATE = 0x045C,
	SMSG_MOVE_SPLINE_SET_RUN_BACK_SPEED = 0x0086,
	SMSG_MOVE_SPLINE_SET_RUN_MODE = 0x0896,
	SMSG_MOVE_SPLINE_SET_RUN_SPEED = 0x1B9A,
	SMSG_MOVE_SPLINE_SET_SWIM_BACK_SPEED = 0x0895,
	SMSG_MOVE_SPLINE_SET_SWIM_SPEED = 0x098D,
	SMSG_MOVE_SPLINE_SET_TURN_RATE = 0x03F6,
	SMSG_MOVE_SPLINE_SET_WALK_BACK_SPEED = 0x01D5,
	SMSG_MOVE_SPLINE_SET_WALK_MODE = 0x03D6,
	SMSG_MOVE_SPLINE_SET_WALK_SPEED = 0xBADD,
	SMSG_MOVE_SPLINE_SET_WATER_WALK = 0x02D5,
	SMSG_MOVE_SPLINE_START_SWIM = 0x01BB,
	SMSG_MOVE_SPLINE_STOP_SWIM = 0x1391,
	SMSG_MOVE_SPLINE_UNROOT = 0x03B2,
	SMSG_MOVE_SPLINE_UNSET_FLYING = 0x09D9,
	SMSG_MOVE_SPLINE_UNSET_HOVER = 0x1B4A,
	SMSG_MOVE_TELEPORT = 0x03A6,
	SMSG_MOVE_UNROOT = 0x08BD,
	SMSG_MOVE_UNSET_CAN_FLY = 0x0BAE,
	SMSG_MOVE_UNSET_CAN_TURN_WHILE_FALLING = 0x1192,
	SMSG_MOVE_UNSET_HOVER = 0x01A5,
	SMSG_MOVE_UNSET_IGNORE_MOVEMENT_FORCES = 0x039E,
	SMSG_MOVE_UNSET_WALK_IN_AIR = 0xBADD,
	SMSG_MOVE_UPDATE = 0x0ACE,
	SMSG_MOVE_UPDATE_APPLY_MOVEMENT_FORCE = 0x02B5,
	SMSG_MOVE_UPDATE_COLLISION_HEIGHT = 0x0ABD,
	SMSG_MOVE_UPDATE_FLIGHT_BACK_SPEED = 0x00BE,
	SMSG_MOVE_UPDATE_FLIGHT_SPEED = 0x1083,
	SMSG_MOVE_UPDATE_KNOCK_BACK = 0x13CA,
	SMSG_MOVE_UPDATE_PITCH_RATE = 0x13D9,
	SMSG_MOVE_UPDATE_REMOVE_MOVEMENT_FORCE = 0x0B99,
	SMSG_MOVE_UPDATE_RUN_BACK_SPEED = 0x09DE,
	SMSG_MOVE_UPDATE_RUN_SPEED = 0x09AD,
	SMSG_MOVE_UPDATE_SWIM_BACK_SPEED = 0x0992,
	SMSG_MOVE_UPDATE_SWIM_SPEED = 0x0B95,
	SMSG_MOVE_UPDATE_TELEPORT = 0x03D5,
	SMSG_MOVE_UPDATE_TURN_RATE = 0x08BE,
	SMSG_MOVE_UPDATE_WALK_SPEED = 0x01E5,
	SMSG_MULTIPLE_PACKETS = 0xBADD,
	SMSG_NAME_QUERY_RESPONSE = 0x0828,
	SMSG_NEUTRAL_PLAYER_FACTION_SELECT_RESULT = 0x0D0D,
	SMSG_NEW_TAXI_PATH = 0x080F,
	SMSG_NEW_WORLD = 0x0206,
	SMSG_NEW_WORLD_ABORT = 0xBADD,
	SMSG_NOTIFICATION = 0x0B22,
	SMSG_NOTIFY_DANCE = 0xBADD,
	SMSG_NOTIFY_DEST_LOC_SPELL_CAST = 0x01F1,
	SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION = 0x0B84,
	SMSG_NOTIFY_MONEY = 0x19AC,
	SMSG_NOTIFY_RECEIVED_MAIL = 0x1F0D,
	SMSG_NPC_TEXT_UPDATE = 0x1122,
	SMSG_NPC_WONT_TALK = 0xBADD,
	SMSG_OFFER_PETITION_ERROR = 0x0B41,
	SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA = 0x053F,
	SMSG_ON_MONSTER_MOVE = 0x0994,
	SMSG_OPEN_CONTAINER = 0x05AA,
	SMSG_OPEN_LFG_DUNGEON_FINDER = 0x0F17,
	SMSG_OPEN_SHIPMENT_NPC_FROM_GOSSIP = 0x0709,
	SMSG_OVERRIDE_LIGHT = 0x01EA,
	SMSG_PAGE_TEXT = 0x158D,
	SMSG_PAGE_TEXT_QUERY_RESPONSE = 0x05A0,
	SMSG_PARTY_COMMAND_RESULT = 0x0B44,
	SMSG_PARTY_INVITE = 0x0920,
	SMSG_PARTY_KILL_LOG = 0x1312,
	SMSG_PARTY_MEMBER_STATE = 0x0B8B,
	SMSG_PARTY_MEMBER_STATS = 0x1729,
	SMSG_PARTY_MEMBER_STATS_FULL = 0xBADD,
	SMSG_PARTY_UPDATE = 0x15BE,
	SMSG_PAUSE_MIRROR_TIMER = 0x073A,
	SMSG_PENDING_RAID_LOCK = 0x178A,
	SMSG_PERIODICAURALOG = 0x0B1B,
	SMSG_PETGODMODE = 0xBADD,
	SMSG_PETITION_ALREADY_SIGNED = 0x0D8E,
	SMSG_PETITION_DECLINED = 0x1B32,
	SMSG_PETITION_RENAME_GUILD_RESPONSE = 0x1055,
	SMSG_PETITION_SHOW_LIST = 0x0915,
	SMSG_PETITION_SHOW_SIGNATURES = 0x0830,
	SMSG_PETITION_SIGN_RESULTS = 0x11E9,
	SMSG_PET_ACTION_FEEDBACK = 0x0D9E,
	SMSG_PET_ACTION_SOUND = 0x0D39,
	SMSG_PET_ADDED = 0x0327,
	SMSG_PET_BATTLE_CHAT_RESTRICTED = 0x0982,
	SMSG_PET_BATTLE_DEBUG_QUEUE_DUMP_RESPONSE = 0x0B35,
	SMSG_PET_BATTLE_FINALIZE_LOCATION = 0x0F09,
	SMSG_PET_BATTLE_FINAL_ROUND = 0x05BA,
	SMSG_PET_BATTLE_FINISHED = 0x0D1F,
	SMSG_PET_BATTLE_FIRST_ROUND = 0x1981,
	SMSG_PET_BATTLE_INITIAL_UPDATE = 0x0D19,
	SMSG_PET_BATTLE_MAX_GAME_LENGTH_WARNING = 0x0F1A,
	SMSG_PET_BATTLE_PVP_CHALLENGE = 0x11EC,
	SMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH = 0x0F19,
	SMSG_PET_BATTLE_QUEUE_STATUS = 0x0905,
	SMSG_PET_BATTLE_REPLACEMENTS_MADE = 0x1B83,
	SMSG_PET_BATTLE_REQUEST_FAILED = 0x1353,
	SMSG_PET_BATTLE_ROUND_RESULT = 0x0341,
	SMSG_PET_BATTLE_SLOT_UPDATES = 0x1D8F,
	SMSG_PET_BROKEN = 0xBADD,
	SMSG_PET_CAST_FAILED = 0x1914,
	SMSG_PET_CLEAR_SPELLS = 0x1113,
	SMSG_PET_DISMISS_SOUND = 0x09A3,
	SMSG_PET_GOD_MODE = 0x13EC,
	SMSG_PET_GUIDS = 0x150F,
	SMSG_PET_LEARNED_SPELL = 0x1822,
	SMSG_PET_MODE = 0x1D40,
	SMSG_PET_NAME_INVALID = 0x0007,
	SMSG_PET_NAME_QUERY_RESPONSE = 0x0D0E,
	SMSG_PET_REMOVED_SPELL = 0x011B,
	SMSG_PET_RENAMEABLE = 0xBADD,
	SMSG_PET_SLOT_UPDATED = 0x0B26,
	SMSG_PET_SPECIALIZATION = 0x1989,
	SMSG_PET_SPELLS = 0x0174,
	SMSG_PET_STABLE_LIST = 0x0B1F,
	SMSG_PET_STABLE_RESULT = 0x1383,
	SMSG_PET_TAME_FAILURE = 0x0025,
	SMSG_PET_UPDATE_COMBO_POINTS = 0xBADD,
	SMSG_PLAYED_TIME = 0x038B,
	SMSG_PLAYERBINDERROR = 0xBADD,
	SMSG_PLAYER_BOUND = 0x078E,
	SMSG_PLAYER_SKINNED = 0x00D2,
	SMSG_PLAYER_VEHICLE_DATA = 0xBADD,
	SMSG_PLAY_DANCE = 0xBADD,
	SMSG_PLAY_MUSIC = 0x0981,
	SMSG_PLAY_OBJECT_SOUND = 0x0519,
	SMSG_PLAY_ONE_SHOT_ANIM_KIT = 0x078D,
	SMSG_PLAY_ORPHAN_SPELL_VISUAL = 0x0BF9,
	SMSG_PLAY_SCENE = 0x0917,
	SMSG_PLAY_SOUND = 0x02D2,
	SMSG_PLAY_SPEAKERBOT_SOUND = 0x1C8A,
	SMSG_PLAY_SPELL_VISUAL = 0x1A84,
	SMSG_PLAY_SPELL_VISUAL_KIT = 0x0171,
	SMSG_PLAY_TIME_WARNING = 0x082F,
	SMSG_PONG = 0x17CA,
	SMSG_POWER_UPDATE = 0x0B27,
	SMSG_PRE_RESSURECT = 0x0D2E,
	SMSG_PROC_RESIST = 0x1DAD,
	SMSG_PROPOSE_LEVEL_GRANT = 0x1B8C,
	SMSG_PUREMOUNT_CANCELLED_OBSOLETE = 0xBADD,
	SMSG_PVP_CREDIT = 0x13A9,
	SMSG_PVP_LOG_DATA = 0x1ECA,
	SMSG_PVP_OPTIONS_ENABLED = 0x0320,
	SMSG_PVP_SEASON = 0x09E3,
	SMSG_QUERY_BATTLE_PET_NAME_RESPONSE = 0x09EC,
	SMSG_QUERY_PETITION_RESPONSE = 0x13AC,
	SMSG_QUERY_TIME_RESPONSE = 0x1DB0,
	SMSG_QUESTGIVER_INVALID_QUEST = 0x15E1,
	SMSG_QUESTGIVER_OFFER_REWARD = 0x17B2,
	SMSG_QUESTGIVER_QUEST_COMPLETE = 0x1773,
	SMSG_QUESTGIVER_QUEST_DETAILS = 0x15B3,
	SMSG_QUESTGIVER_QUEST_FAILED = 0x1D42,
	SMSG_QUESTGIVER_QUEST_INVALID = 0xBADD,
	SMSG_QUESTGIVER_QUEST_LIST = 0x17A5,
	SMSG_QUESTGIVER_REQUEST_ITEMS = 0x17B8,
	SMSG_QUESTGIVER_STATUS = 0x1567,
	SMSG_QUESTGIVER_STATUS_MULTIPLE = 0x17C6,
	SMSG_QUEST_CONFIRM_ACCEPT = 0x15B2,
	SMSG_QUEST_FORCE_REMOVED = 0x1D13,
	SMSG_QUEST_LOG_FULL = 0x17E4,
	SMSG_QUEST_NPC_QUERY_RESPONSE = 0x1591,
	SMSG_QUEST_POI_QUERY_RESPONSE = 0x1715,
	SMSG_QUEST_PUSH_RESULT = 0x1797,
	SMSG_QUEST_QUERY_RESPONSE = 0x1547,
	SMSG_QUEST_UPDATE_ADD_CREDIT = 0x1515,
	SMSG_QUEST_UPDATE_ADD_CREDIT_SIMPLE = 0x1D11,
	SMSG_QUEST_UPDATE_ADD_PVP_CREDIT = 0x15A6,
	SMSG_QUEST_UPDATE_COMPLETE = 0x1787,
	SMSG_QUEST_UPDATE_FAILED = 0x1542,
	SMSG_QUEST_UPDATE_FAILED_TIMER = 0x1D01,
	SMSG_RAF_EMAIL_ENABLED_RESPONSE = 0x1111,
	SMSG_RAID_GROUP_ONLY = 0x0D9D,
	SMSG_RAID_INSTANCE_INFO = 0xBADD,
	SMSG_RAID_INSTANCE_MESSAGE = 0x0494,
	SMSG_RAID_MARKERS_CHANGED = 0x0384,
	SMSG_RAID_SUMMON_FAILED = 0xBADD,
	SMSG_RANDOMIZE_CHAR_NAME = 0x0D8F,
	SMSG_RANDOM_ROLL = 0x1B04,
	SMSG_RATED_BG_RATING = 0xBADD,
	SMSG_RATED_BG_STATS = 0xBADD,
	SMSG_READY_CHECK_COMPLETED = 0x0BC3,
	SMSG_READY_CHECK_RESPONSE = 0x0A10,
	SMSG_READY_CHECK_STARTED = 0x17A9,
	SMSG_READ_ITEM_FAILED = 0x0BD4,
	SMSG_READ_ITEM_RESULT_OK = 0x1BE1,
	SMSG_REALM_QUERY_RESPONSE = 0x011D,
	SMSG_REALM_SPLIT = 0x19EC,
	SMSG_REAL_GROUP_UPDATE = 0xBADD,
	SMSG_RECEIVED_MAIL = 0xBADD,
	SMSG_RECRUIT_A_FRIEND_RESPONSE = 0x0B3E,
	SMSG_REDIRECT_CLIENT = 0x175A,
	SMSG_REFER_A_FRIEND_EXPIRED = 0x0318,
	SMSG_REFER_A_FRIEND_FAILURE = 0x0931,
	SMSG_REFRESH_COMPONENT = 0x01A1,
	SMSG_REFRESH_SPELL_HISTORY = 0x0A2A,
	SMSG_REMOVE_ITEM_PASSIVE = 0x148A,
	SMSG_REMOVE_LOSS_OF_CONTROL = 0x0307,
	SMSG_REPLACE_TROPHY_RESPONSE = 0x13C2,
	SMSG_REPORT_PVP_AFK_RESULT = 0x0A0E,
	SMSG_REQUEST_CEMETERY_LIST_RESPONSE = 0x059E,
	SMSG_REQUEST_PVP_REWARDS_RESPONSE = 0x1DAE,
	SMSG_RESEARCH_COMPLETE = 0x0B3A,
	SMSG_RESEARCH_SETUP_HISTORY = 0x0A25,
	SMSG_RESET_COMPRESSION_CONTEXT = 0xBADD,
	SMSG_RESET_FAILED_NOTIFY = 0x1B01,
	SMSG_RESET_RANGED_COMBAT_TIMER = 0x0106,
	SMSG_RESET_WEEKLY_CURRENCY = 0x0916,
	SMSG_RESISTLOG = 0xBADD,
	SMSG_RESPEC_WIPE_CONFIRM = 0x1341,
	SMSG_RESPOND_INSPECT_ACHIEVEMENTS = 0x1BA2,
	SMSG_RESTRICTED_ACCOUNT_WARNING = 0x0A2E,
	SMSG_RESUME_CAST_BAR = 0x082C,
	SMSG_RESUME_COMMS = 0x07C9,
	SMSG_RESUME_TOKEN = 0x0326,
	SMSG_RESURRECT_FAILED = 0xBADD,
	SMSG_RESURRECT_REQUEST = 0x0336,
	SMSG_RESYNC_RUNES = 0x00F4,
	SMSG_ROLE_CHANGED_INFORM = 0x0729,
	SMSG_ROLE_CHOSEN = 0x07D3,
	SMSG_ROLE_POLL_BEGIN = 0xBADD,
	SMSG_ROLE_POLL_INFORM = 0x0F89,
	SMSG_RUNE_REGEN_DEBUG = 0x032E,
	SMSG_SAVE_GUILD_EMBLEM = 0x1037,
	SMSG_SCENARIO_BOOT = 0x1BEB,
	SMSG_SCENARIO_COMPLETED = 0x1BA4,
	SMSG_SCENARIO_OUT_OF_BOUNDS = 0x01E4,
	SMSG_SCENARIO_POIS = 0x0343,
	SMSG_SCENARIO_PROGRESS_UPDATE = 0x0324,
	SMSG_SCENARIO_STATE = 0x152D,
	SMSG_SCENE_OBJECT_EVENT = 0x0382,
	SMSG_SCENE_OBJECT_PET_BATTLE_FINAL_ROUND = 0x092E,
	SMSG_SCENE_OBJECT_PET_BATTLE_FINISHED = 0x1B44,
	SMSG_SCENE_OBJECT_PET_BATTLE_FIRST_ROUND = 0x000E,
	SMSG_SCENE_OBJECT_PET_BATTLE_INITIAL_UPDATE = 0x0540,
	SMSG_SCENE_OBJECT_PET_BATTLE_REPLACEMENTS_MADE = 0x098A,
	SMSG_SCENE_OBJECT_PET_BATTLE_ROUND_RESULT = 0x0130,
	SMSG_SCRIPT_CAST = 0x1B1C,
	SMSG_SELL_ITEM = 0xBADD,
	SMSG_SELL_RESPONSE = 0x1352,
	SMSG_SEND_ITEM_PASSIVES = 0x059F,
	SMSG_SEND_MAIL_RESULT = 0x0302,
	SMSG_SEND_RAID_TARGET_UPDATE_ALL = 0x000D,
	SMSG_SEND_RAID_TARGET_UPDATE_SINGLE = 0x0D3E,
	SMSG_SEND_SPELL_CHARGES = 0x1A82,
	SMSG_SEND_SPELL_HISTORY = 0x1933,
	SMSG_SEND_UNLEARN_SPELLS = 0x0BCB,
	SMSG_SERVER_FIRST_ACHIEVEMENT = 0x1413,
	SMSG_SERVER_FIRST_ACHIEVEMENTS = 0x0BAC,
	SMSG_SERVER_INFO_RESPONSE = 0xBADD,
	SMSG_SERVER_MESSAGE = 0x0683,
	SMSG_SERVER_PERF = 0xBADD,
	SMSG_SERVER_TIME = 0x0339,
	SMSG_SETUP_CURRENCY = 0x0B06,
	SMSG_SETUP_TROPHY = 0x0B63,
	SMSG_SET_AI_ANIM_KIT = 0x0335,
	SMSG_SET_ALL_TASK_PROGRESS = 0x1B52,
	SMSG_SET_ANIM_TIER = 0x079E,
	SMSG_SET_CURRENCY = 0x17BE,
	SMSG_SET_DF_FAST_LAUNCH_RESULT = 0x0F52,
	SMSG_SET_DUNGEON_DIFFICULTY = 0x0719,
	SMSG_SET_FACTION_AT_WAR = 0x079A,
	SMSG_SET_FACTION_NOT_VISIBLE = 0x1224,
	SMSG_SET_FACTION_STANDING = 0x1B03,
	SMSG_SET_FACTION_VISIBLE = 0x138B,
	SMSG_SET_FLAT_SPELL_MODIFIER = 0x1884,
	SMSG_SET_FORCED_REACTIONS = 0x09A9,
	SMSG_SET_ITEM_PURCHASE_DATA = 0x0316,
	SMSG_SET_LFG_TIME_WALKER = 0x0731,
	SMSG_SET_LOOT_METHOD_FAILED = 0x070E,
	SMSG_SET_MAX_WEEKLY_QUANTITY = 0x1489,
	SMSG_SET_MELEE_ANIM_KIT = 0x17AA,
	SMSG_SET_MOVEMENT_ANIM_KIT = 0xBADD,
	SMSG_SET_PCT_SPELL_MODIFIER = 0x113C,
	SMSG_SET_PHASE_SHIFT_CHANGE = 0x00D1,
	SMSG_SET_PLAYER_DECLINED_NAMES_RESULT = 0x13E2,
	SMSG_SET_PLAY_HOVER_ANIM = 0x02D4,
	SMSG_SET_PROFICIENCY = 0x00D3,
	SMSG_SET_PROJECTILE_POSITION = 0xBADD,
	SMSG_SET_QUEST_COMPLETED_BIT = 0x15D3,
	SMSG_SET_RAID_DIFFICULTY = 0x051F,
	SMSG_SET_SPELL_CHARGES = 0x18AB,
	SMSG_SET_TASK_COMPLETE = 0x0B24,
	SMSG_SET_TIME_ZONE_INFORMATION = 0x153E,
	SMSG_SET_VEHICLE_REC_ID = 0x1BA1,
	SMSG_SET_VIGNETTE = 0x09AC,
	SMSG_SHOW_BANK = 0x1B51,
	SMSG_SHOW_MAILBOX = 0x152F,
	SMSG_SHOW_NEUTRAL_PLAYER_FACTION_SELECT_UI = 0x053D,
	SMSG_SHOW_RATINGS = 0xBADD,
	SMSG_SHOW_TAXI_NODES = 0x12A1,
	SMSG_SHOW_TRADE_SKILL_RESPONSE = 0x15C0,
	SMSG_SOCKET_GEMS = 0x1302,
	SMSG_SORT_BAGS_ACK = 0x09E4,
	SMSG_SOR_START_EXPERIENCE_INCOMPLETE = 0x198B,
	SMSG_SPECIAL_MOUNT_ANIM = 0x159F,
	SMSG_SPELLBREAKLOG = 0xBADD,
	SMSG_SPELLSTEALLOG = 0xBADD,
	SMSG_SPELL_ABSORB_LOG = 0x188A,
	SMSG_SPELL_CATEGORY_COOLDOWN = 0x082A,
	SMSG_SPELL_COOLDOWN = 0x03F4,
	SMSG_SPELL_DAMAGE_SHIELD = 0x0B4C,
	SMSG_SPELL_DELAYED = 0x0134,
	SMSG_SPELL_DISPEL_LOG = 0x18A2,
	SMSG_SPELL_ENERGIZE_LOG = 0x137C,
	SMSG_SPELL_EXECUTE_LOG = 0x1823,
	SMSG_SPELL_FAILED_OTHER = 0x1A03,
	SMSG_SPELL_FAILURE = 0x11DB,
	SMSG_SPELL_GO = 0x1161,
	SMSG_SPELL_HEAL_LOG = 0x0114,
	SMSG_SPELL_INSTAKILL_LOG = 0x1164,
	SMSG_SPELL_INTERRUPT_LOG = 0x1BDC,
	SMSG_SPELL_MISS_LOG = 0x0313,
	SMSG_SPELL_MULTISTRIKE_EFFECT = 0x131C,
	SMSG_SPELL_NON_MELEE_DAMAGE_LOG = 0x11FB,
	SMSG_SPELL_OR_DAMAGE_IMMUNE = 0x1313,
	SMSG_SPELL_START = 0x0803,
	SMSG_SPELL_UPDATE_CHAIN_TARGETS = 0x0374,
	SMSG_SPIRIT_HEALER_CONFIRM = 0x1331,
	SMSG_STAND_STATE_UPDATE = 0x1311,
	SMSG_START_ELAPSED_TIMER = 0x0D2A,
	SMSG_START_ELAPSED_TIMERS = 0x093F,
	SMSG_START_LOOT_ROLL = 0x1B84,
	SMSG_START_MIRROR_TIMER = 0x051E,
	SMSG_START_TIMER = 0x0317,
	SMSG_STOP_DANCE = 0xBADD,
	SMSG_STOP_ELAPSED_TIMER = 0x1D10,
	SMSG_STOP_MIRROR_TIMER = 0x0D1E,
	SMSG_STREAMING_MOVIE = 0x158F,
	SMSG_SUMMON_CANCEL = 0x078A,
	SMSG_SUMMON_RAID_MEMBER_VALIDATE_FAILED = 0x1B24,
	SMSG_SUMMON_REQUEST = 0x0599,
	SMSG_SUPERCEDED_SPELL = 0x0172,
	SMSG_SUPPRESS_NPC_GREETINGS = 0x193A,
	SMSG_SUSPEND_COMMS = 0x076A,
	SMSG_SUSPEND_TOKEN = 0x12A2,
	SMSG_TABARD_VENDOR_ACTIVATE = 0x1389,
	SMSG_TALENTS_ERROR = 0xBADD,
	SMSG_TALENTS_INFO = 0x012D,
	SMSG_TALENTS_INVOLUNTARILY_RESET = 0x01E3,
	SMSG_TAXINODE_STATUS = 0x0338,
	SMSG_TEST_DROP_RATE_RESULT = 0xBADD,
	SMSG_TEXT_EMOTE = 0x0383,
	SMSG_THREAT_CLEAR = 0x030F,
	SMSG_THREAT_REMOVE = 0x0F3D,
	SMSG_THREAT_UPDATE = 0x03A9,
	SMSG_TIME_ADJUSTMENT = 0x04CB,
	SMSG_TIME_SYNC_REQ = 0x03B1,
	SMSG_TITLE_EARNED = 0x1324,
	SMSG_TITLE_LOST = 0x1D0E,
	SMSG_TOTEM_CREATED = 0x0352,
	SMSG_TOTEM_MOVED = 0x12AB,
	SMSG_TRADE_STATUS = 0x093D,
	SMSG_TRADE_STATUS_EXTENDED = 0xBADD,
	SMSG_TRADE_UPDATED = 0x0B43,
	SMSG_TRAINER_BUY_FAILED = 0x1BD2,
	SMSG_TRAINER_BUY_SUCCEEDED = 0xBADD,
	SMSG_TRAINER_LIST = 0x0BA9,
	SMSG_TRANSFER_ABORTED = 0x03C2,
	SMSG_TRANSFER_PENDING = 0x172A,
	SMSG_TRIGGER_CINEMATIC = 0x032F,
	SMSG_TRIGGER_MOVIE = 0x151F,
	SMSG_TURN_IN_PETITION_RESULTS = 0x0919,
	SMSG_TUTORIAL_FLAGS = 0x020F,
	SMSG_UI_TIME = 0x0B83,
	SMSG_UNDELETE_CHARACTER_RESPONSE = 0x0344,
	SMSG_UNDELETE_COOLDOWN_STATUS_RESPONSE = 0x0310,
	SMSG_UNIT_HEALTH_FREQUENT = 0xBADD,
	SMSG_UNIT_SPELLCAST_START = 0xBADD,
	SMSG_UNLEARNED_SPELLS = 0x0B3B,
	SMSG_UPDATE_ACCOUNT_DATA = 0x1520,
	SMSG_UPDATE_CAPTURE_POINT = 0x1B11,
	SMSG_UPDATE_CHARACTER_FLAGS = 0x03D3,
	SMSG_UPDATE_COMBO_POINTS = 0xBADD,
	SMSG_UPDATE_CURRENCY_WEEK_LIMIT = 0xBADD,
	SMSG_UPDATE_DUNGEON_ENCOUNTER_FOR_LOOT = 0x0774,
	SMSG_UPDATE_EXPANSION_LEVEL = 0x173E,
	SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT = 0xBADD,
	SMSG_UPDATE_INSTANCE_OWNERSHIP = 0x093E,
	SMSG_UPDATE_LAST_INSTANCE = 0x13A4,
	SMSG_UPDATE_OBJECT = 0x122C,
	SMSG_UPDATE_SERVER_PLAYER_POSITION = 0xBADD,
	SMSG_UPDATE_TASK_PROGRESS = 0x1209,
	SMSG_UPDATE_WORLD_STATE = 0x03EC,
	SMSG_USERLIST_ADD = 0x0441,
	SMSG_USERLIST_REMOVE = 0x0641,
	SMSG_USERLIST_UPDATE = 0x04C4,
	SMSG_USE_EQUIPMENT_SET_RESULT = 0x0128,
	SMSG_VOICESESSION_FULL = 0xBADD,
	SMSG_VOICE_CHAT_STATUS = 0x06D3,
	SMSG_VOICE_PARENTAL_CONTROLS = 0x1414,
	SMSG_VOICE_SESSION_LEAVE = 0x0403,
	SMSG_VOICE_SESSION_ROSTER_UPDATE = 0x0443,
	SMSG_VOICE_SET_TALKER_MUTED = 0xBADD,
	SMSG_VOID_ITEM_SWAP_RESPONSE = 0x1131,
	SMSG_VOID_STORAGE_CONTENTS = 0x0108,
	SMSG_VOID_STORAGE_FAILED = 0x0B01,
	SMSG_VOID_STORAGE_TRANSFER_CHANGES = 0x0321,
	SMSG_VOID_TRANSFER_RESULT = 0x0539,
	SMSG_WAIT_QUEUE_FINISH = 0x198A,
	SMSG_WAIT_QUEUE_UPDATE = 0x00D4,
	SMSG_WARDEN_DATA = 0x0BEC,
	SMSG_WARGAME_CHECK_ENTRY = 0xBADD,
	SMSG_WARGAME_REQUEST_SENT = 0xBADD,
	SMSG_WARGAME_REQUEST_SUCCESSFULLY_SENT_TO_OPPONENT = 0x01A2,
	SMSG_WEATHER = 0x073E,
	SMSG_WEEKLY_LAST_RESET = 0x030D,
	SMSG_WEEKLY_RESET_CURRENCY = 0xBADD,
	SMSG_WEEKLY_SPELL_USAGE = 0x13DC,
	SMSG_WEEKLY_SPELL_USAGE_UPDATE = 0x1829,
	SMSG_WHO = 0x0601,
	SMSG_WHOIS = 0x1D30,
	SMSG_WORLD_SERVER_INFO = 0x11AC,
	SMSG_XP_GAIN_ABORTED = 0x031E,
	SMSG_XP_GAIN_ENABLED = 0x0FAA,
	SMSG_ZONE_UNDER_ATTACK = 0x1401
};

inline bool IsInstanceOnlyOpcode(uint32 opcode)
{
	// TODO: Use names when known
	switch (opcode)
	{
	case SMSG_MOUNT_RESULT: // Client
	case SMSG_DUEL_OUT_OF_BOUNDS: // Client
	case SMSG_DUEL_IN_BOUNDS: // Client
	case 0x0549: // Client
	case 0x055A: // Client
	case 0x055C: // Client
	case 0x057A: // Client
	case 0x057C: // Client
	case 0x05C9: // Client
	case 0x05CA: // Client
	case 0x05D9: // Client
	case 0x05DA: // Client
	case 0x05DC: // Client
	case 0x05E9: // Client
	case 0x05F9: // Client
	case 0x05FC: // Client
	case 0x074B: // Client
	case 0x074C: // Client
	case 0x075B: // Client
	case 0x075C: // Client
	case 0x076C: // Client
	case 0x07CB: // Client
	case 0x07CC: // Client
	case 0x07DB: // Client
	case 0x07DC: // Client
	case 0x07EC: // Client
	case SMSG_DUEL_REQUESTED: // Client
	case SMSG_DUEL_WINNER: // Client
	case 0x0F0F: // ClientSpell
	case 0x0F10: // ClientSpell
	case 0x0F30: // ClientSpell
	case 0x0F3B: // ClientSpell
	case 0x0F8B: // ClientSpell
	case 0x0F8C: // ClientSpell
	case 0x0F90: // ClientSpell
	case 0x0F9F: // ClientSpell
	case 0x0FA0: // ClientSpell
	case SMSG_ATTACKSTOP: // Client
	case SMSG_DUEL_COMPLETE: // Client
	case 0x154B: // Client
	case 0x154C: // Client
	case 0x155A: // Client
	case 0x155B: // Client
	case 0x155C: // Client
	case SMSG_QUESTGIVER_STATUS: // ClientQuest
	case 0x156B: // Client
	case 0x1579: // Client
	case 0x157B: // Client
	case 0x15CB: // Client
	case 0x15CC: // Client
	case 0x15DB: // Client
	case 0x15DC: // Client
	case 0x15EB: // Client
	case 0x15FB: // Client
	case 0x1710: // ClientSpell
	case 0x1720: // ClientSpell
	case 0x172B: // ClientSpell
	case 0x172C: // ClientSpell
	case 0x172F: // ClientSpell
	case 0x1730: // ClientSpell
	case 0x173C: // ClientSpell
	case 0x178B: // ClientSpell
	case 0x178C: // ClientSpell
	case 0x178F: // ClientSpell
	case 0x1790: // ClientSpell
	case 0x179B: // ClientSpell
	case 0x179F: // ClientSpell
	case SMSG_ATTACKSTART: // Client
	case 0x1D82: // ClientQuest
	case 0x1D83: // ClientQuest
	case 0x1D84: // ClientQuest
	case 0x1D86: // ClientQuest
	case 0x1D91: // ClientQuest
	case 0x1D92: // ClientQuest
	case 0x1D94: // ClientQuest
	case 0x1D96: // ClientQuest
	case 0x1D97: // ClientQuest
	case 0x1DA1: // ClientQuest
	case 0x1DA2: // ClientQuest
	case 0x1DA3: // ClientQuest
	case 0x1DA4: // ClientQuest
	case 0x1DA5: // ClientQuest
	case 0x1DA7: // ClientQuest
	case SMSG_QUERY_TIME_RESPONSE: // Client
	case 0x1DC4: // ClientQuest
	case 0x1DC8: // ClientQuest
	case 0x1DD1: // ClientQuest
	case 0x1DD2: // ClientQuest
	case 0x1DD3: // ClientQuest
	case 0x1DD4: // ClientQuest
	case 0x1DD6: // ClientQuest
	case 0x1DE1: // ClientQuest
	case 0x1DE2: // ClientQuest
	case 0x1DE3: // ClientQuest
	case 0x1DE4: // ClientQuest
	case 0x1DE5: // ClientQuest
	case 0x1DE7: // ClientQuest
	case 0x1F04: // ClientQuest
	case 0x1F08: // ClientQuest
	case 0x1F10: // ClientSpell
	case 0x1F11: // ClientQuest
	case 0x1F12: // ClientQuest
	case 0x1F13: // ClientQuest
	case 0x1F14: // ClientQuest
	case 0x1F16: // ClientQuest
	case 0x1F20: // ClientSpell
	case 0x1F21: // ClientQuest
	case 0x1F22: // ClientQuest
	case 0x1F23: // ClientQuest
	case 0x1F24: // ClientQuest
	case 0x1F25: // ClientQuest
	case 0x1F27: // ClientQuest
	case 0x1F2B: // ClientSpell
	case 0x1F2C: // ClientSpell
	case 0x1F2F: // ClientSpell
	case 0x1F30: // ClientSpell
	case 0x1F3C: // ClientSpell
	case 0x1F41: // ClientQuest
	case 0x1F42: // ClientQuest
	case 0x1F44: // ClientQuest
	case 0x1F46: // ClientQuest
	case 0x1F47: // ClientQuest
	case 0x1F48: // ClientQuest
	case 0x1F52: // ClientQuest
	case 0x1F53: // ClientQuest
	case 0x1F55: // ClientQuest
	case 0x1F57: // ClientQuest
	case 0x1F61: // ClientQuest
	case 0x1F63: // ClientQuest
	case 0x1F64: // ClientQuest
	case 0x1F65: // ClientQuest
	case 0x1F67: // ClientQuest
	case 0x1F84: // ClientQuest
	case 0x1F87: // ClientQuest
	case 0x1F8B: // ClientSpell
	case 0x1F8C: // ClientSpell
	case 0x1F8F: // ClientSpell
	case 0x1F90: // ClientSpell
	case 0x1F91: // ClientQuest
	case 0x1F95: // ClientQuest
	case 0x1F96: // ClientQuest
	case 0x1F97: // ClientQuest
	case 0x1F9B: // ClientSpell
	case 0x1F9F: // ClientSpell
	case 0x1FA1: // ClientQuest
	case 0x1FA2: // ClientQuest
	case 0x1FA3: // ClientQuest
	case 0x1FA4: // ClientQuest
	case 0x1FA5: // ClientQuest
	case 0x1FA7: // ClientQuest
	case 0x1FC4: // ClientQuest
	case 0x1FC8: // ClientQuest
	case 0x1FD1: // ClientQuest
	case 0x1FD2: // ClientQuest
	case 0x1FD3: // ClientQuest
	case 0x1FD4: // ClientQuest
	case 0x1FD6: // ClientQuest
	case 0x1FE1: // ClientQuest
	case 0x1FE2: // ClientQuest
	case 0x1FE3: // ClientQuest
	case 0x1FE4: // ClientQuest
	case 0x1FE5: // ClientQuest
	case 0x1FE7: // ClientQuest
		return true;
	default:
		return false;
	}
}

/// Player state
enum SessionStatus
{
	STATUS_AUTHED = 0,                                      // Player authenticated (_player == NULL, m_playerRecentlyLogout = false or will be reset before handler call, m_GUID have garbage)
	STATUS_LOGGEDIN,                                        // Player in game (_player != NULL, m_GUID == _player->GetGUID(), inWorld())
	STATUS_TRANSFER,                                        // Player transferring to another map (_player != NULL, m_GUID == _player->GetGUID(), !inWorld())
	STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT,                    // _player != NULL or _player == NULL && m_playerRecentlyLogout && m_playerLogout, m_GUID store last _player guid)
	STATUS_NEVER,                                           // Opcode not accepted from client (deprecated or server side only)
	STATUS_UNHANDLED                                        // Opcode not handled yet
};

enum PacketProcessing
{
	PROCESS_INPLACE = 0,                                    //process packet whenever we receive it - mostly for non-handled or non-implemented packets
	PROCESS_THREADUNSAFE,                                   //packet is not thread-safe - process it in World::UpdateSessions()
	PROCESS_THREADSAFE                                      //packet is thread-safe - process it in Map::Update()
};

class WorldPacket;
class WorldSession;

#if defined(__GNUC__)
#pragma pack(1)
#else
#pragma pack(push, 1)
#endif

class OpcodeHandler
{
public:
	OpcodeHandler(char const* name, SessionStatus status) : Name(name), Status(status) { }
	virtual ~OpcodeHandler() { }

	char const* Name;
	SessionStatus Status;
};

class ClientOpcodeHandler : public OpcodeHandler
{
public:
	ClientOpcodeHandler(char const* name, SessionStatus status, PacketProcessing processing)
		: OpcodeHandler(name, status), ProcessingPlace(processing) { }

	virtual void Call(WorldSession* session, WorldPacket& packet) const = 0;

	PacketProcessing ProcessingPlace;
};

class ServerOpcodeHandler : public OpcodeHandler
{
public:
	ServerOpcodeHandler(char const* name, SessionStatus status, ConnectionType conIdx)
		: OpcodeHandler(name, status), ConnectionIndex(conIdx) { }

	ConnectionType ConnectionIndex;
};

class OpcodeTable
{
public:
	OpcodeTable()
	{
		memset(_internalTableClient, 0, sizeof(_internalTableClient));
		memset(_internalTableServer, 0, sizeof(_internalTableServer));
	}

	OpcodeTable(OpcodeTable const&) = delete;
	OpcodeTable& operator=(OpcodeTable const&) = delete;

	~OpcodeTable()
	{
		for (uint16 i = 0; i < NUM_OPCODE_HANDLERS; ++i)
		{
			delete _internalTableClient[i];
			delete _internalTableServer[i];
		}
	}

	void Initialize();

	ClientOpcodeHandler const* operator[](OpcodeClient index) const
	{
		return _internalTableClient[index];
	}

	ServerOpcodeHandler const* operator[](OpcodeServer index) const
	{
		return _internalTableServer[index];
	}

private:
	template<class PacketClass, void(WorldSession::*HandlerFunction)(PacketClass&)>
	void ValidateAndSetClientOpcode(OpcodeClient opcode, char const* name, SessionStatus status, PacketProcessing processing);

	void ValidateAndSetServerOpcode(OpcodeServer opcode, char const* name, SessionStatus status, ConnectionType conIdx);

	ClientOpcodeHandler* _internalTableClient[NUM_OPCODE_HANDLERS];
	ServerOpcodeHandler* _internalTableServer[NUM_OPCODE_HANDLERS];
};

extern OpcodeTable opcodeTable;

#if defined(__GNUC__)
#pragma pack()
#else
#pragma pack(pop)
#endif

void InitOpcodes();

/// Lookup opcode name for human understandable logging (T = OpcodeClient|OpcodeServer)
template<typename T>
inline std::string GetOpcodeNameForLogging(T id)
{
	uint32 opcode = uint32(id);
	std::ostringstream ss;
	ss << '[';

	if (static_cast<uint32>(id) < UNKNOWN_OPCODE)
	{
		if (OpcodeHandler const* handler = opcodeTable[T(opcode & 0x7FFF)])
			ss << handler->Name;
		else
			ss << "UNKNOWN OPCODE";
	}
	else
		ss << "INVALID OPCODE";

	ss << " 0x" << std::hex << std::setw(4) << std::setfill('0') << std::uppercase << opcode << std::nouppercase << std::dec << " (" << opcode << ")]";
	return ss.str();
}


#endif
/// @}
